Remove constructor, it's not needed in the baseclass

This commit is contained in:
Matthias 2018-11-25 09:55:36 +01:00
parent 20de8c82e4
commit a3477e07eb

View File

@ -14,16 +14,9 @@ logger = logging.getLogger(__name__)
class IResolver(object):
"""
This class contains all the logic to load custom hyperopt class
This class contains all the logic to load custom classes
"""
def __init__(self, object_type, config: Optional[Dict] = None) -> None:
"""
Load the custom class from config parameter
:param config: configuration dictionary or None
"""
config = config or {}
@staticmethod
def _get_valid_objects(object_type, module_path: Path,
object_name: str) -> Optional[Type[Any]]: