Fix small mistakes

This commit is contained in:
Matthias 2019-07-21 19:21:50 +02:00
parent e6528be63d
commit dcddfce5bc
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class HyperOptResolver(IResolver):
def __init__(self, config: Dict) -> None: def __init__(self, config: Dict) -> None:
""" """
Load the custom class from config parameter Load the custom class from config parameter
:param config: configuration dictionary or None :param config: configuration dictionary
""" """
# Verify the hyperopt is in the configuration, otherwise fallback to the default hyperopt # Verify the hyperopt is in the configuration, otherwise fallback to the default hyperopt

View File

@ -67,7 +67,7 @@ class IResolver(object):
@staticmethod @staticmethod
def _load_object(paths: List[Path], object_type, object_name: str, def _load_object(paths: List[Path], object_type, object_name: str,
kwargs: dict = {}) -> Union[Any, None]: kwargs: dict = {}) -> Optional[Any]:
""" """
Try to load object from path list. Try to load object from path list.
""" """