Follow PEP 484 - no implicit optionals

This commit is contained in:
Matthias
2023-01-21 15:01:56 +01:00
parent bb355cfac5
commit 8108a48f39
24 changed files with 80 additions and 67 deletions

View File

@@ -33,7 +33,7 @@ class StrategyResolver(IResolver):
extra_path = "strategy_path"
@staticmethod
def load_strategy(config: Config = None) -> IStrategy:
def load_strategy(config: Optional[Config] = None) -> IStrategy:
"""
Load the custom class from config parameter
:param config: configuration dictionary or None