Exemple #1
0
 def __eq__(self, o: 'BaseMetrics') -> bool:
     return get_import_path(self) == get_import_path(o)
Exemple #2
0
 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
Exemple #3
0
 def to_json_object(self) -> Tuple:
     '''convert to JSON object'''
     return get_import_path(self)
Exemple #4
0
 def __eq__(self, o: 'SandBox') -> bool:
     return get_import_path(self) == get_import_path(o)