def executor_id(self): executor_id_ = TypeVersionEnabled.get_type_version_string(self) if self.optional_dict is not None and len(self.optional_dict) > 0: # include optional_dict info in executor_id for result store, # as parameters in optional_dict will impact result executor_id_ += '_{}'.format('_'.join( map(lambda k: '{k}_{v}'.format(k=k, v=self.optional_dict[k]), sorted(self.optional_dict.keys())))) return executor_id_
def executor_id(self): executor_id_ = TypeVersionEnabled.get_type_version_string(self) if self.optional_dict is not None: # include optional_dict info in executor_id for result store, # as parameters in optional_dict will impact result executor_id_ += '_{}'.format( '_'.join( map(lambda k: '{k}_{v}'.format(k=k,v=self.optional_dict[k]), sorted(self.optional_dict.keys())) ) ) return executor_id_
def model_id(self): return TypeVersionEnabled.get_type_version_string(self)
def executor_id(self): return TypeVersionEnabled.get_type_version_string(self)
def model_id(self): return TypeVersionEnabled.get_type_version_string(self)