refactor: update type annotations in config.

This commit is contained in:
UpstreamData
2024-01-25 10:07:19 -07:00
parent 4fd2199435
commit c5eed797ec
5 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ class MinerConfigValue:
def from_dict(cls, dict_conf: Union[dict, None]):
return cls()
def as_dict(self):
def as_dict(self) -> dict:
return asdict(self)
def as_am_modern(self) -> dict: