fixed config dataclass

float_support
Anton Lydike 4 years ago
parent 9710ed9b8b
commit feaf432645

@ -1,8 +1,9 @@
from dataclasses import dataclass
from typing import Optional
@dataclass()
class RunConfig:
color = True
preffered_stack_size = None
debug_instruction = True
@dataclass(frozen=True, init=True)
class RunConfig:
color: bool = True
preffered_stack_size: Optional[int] = None
debug_instruction: bool = True

Loading…
Cancel
Save