Functions
Method to check if the typing name is compatible with the current lab
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str |
Return type:
Type |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str | ||
object_id | str |
Return type:
Model |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str | ||
id | str |
Return type:
Model |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str |
Return type:
Optional |
Get typing from name and return None if not found
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str |
Return type:
Optional |
Get typing from name and check if it exists
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing_name | str |
Return type:
Typing |
Call this method after all the bricks are loaded to refresh the ancestors list and brick version of typing
Register the typing into the manager to save it in the database Return the typing unique name
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
typing | Typing | ||
object_class | Type |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
model_type | Type |
Return type:
bool |