fixed config dataclass
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…
Reference in New Issue