def __eq__(self, o: 'BaseMetrics') -> bool: return get_import_path(self) == get_import_path(o)
def test_get_import(self): '''Test get import and import class together''' res = get_import_path(self) cls = import_class(*res) assert self.__class__ == cls
def to_json_object(self) -> Tuple: '''convert to JSON object''' return get_import_path(self)
def __eq__(self, o: 'SandBox') -> bool: return get_import_path(self) == get_import_path(o)