phenome_core.core.helpers.model_helpers module¶
-
add_object(model_classtype, model_id, ip_address, mac_address, unique_id, properties=None)¶
-
add_object_model(app_id, model_name, model_classtype, model_description, model_classname, model_subclasstype=None)¶
-
add_property_model(object_model, data)¶
-
add_relations(object, relations, relation_type, details)¶
-
autogenesis(p)¶
-
delete_model(model)¶
-
delete_object(object, model_id=None, ip_address=None, mac_address=None)¶
-
delete_relations(object, relations, relation_type)¶
-
get_model_classtype_id_by_name(classtype_name)¶
-
get_model_classtype_name_by_id(classtype_id)¶
-
get_model_classtypes_json(filter, details)¶
-
get_model_id_by_name(model_name)¶
-
get_model_subclasstype_id_by_name(subclasstype_name)¶
-
get_model_subclasstypes_json(filter, details)¶
-
get_object(object_id)¶
-
get_property_model_attributes(property)¶
-
get_property_type_index(property_key)¶
-
get_relation_type_id(relation_type_key)¶
-
get_relations(object, relation_ids)¶
-
get_units_id_by_symbol(units_symbol)¶