gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

TypingManager

Functions
check_typing_name_compatibility @classmethod

Method to check if the typing name is compatible with the current lab

typing_name : str
get_and_check_type_from_name @classmethod
typing_name : str
Return type : Type
get_object_with_typing_name @classmethod
typing_name : str
object_id : str
Return type : Model
get_object_with_typing_name_and_id @classmethod
typing_name : str
id : str
Return type : Model
get_type_from_name @classmethod
typing_name : str
Return type : Optional
get_typing_from_name @classmethod

Get typing from name and return None if not found

typing_name : str
Return type : Optional
get_typing_from_name_and_check @classmethod

Get typing from name and check if it exists

typing_name : str
Return type : Typing
init_typings @classmethod

Call this method after all the bricks are loaded to refresh the ancestors list and brick version of typing

register_typing @classmethod

Register the typing into the manager to save it in the database Return the typing unique name

typing : Typing
object_class : Type
save_object_types_in_db @classmethod
type_is_register @classmethod
model_type : Type
Return type : bool