To store entities inside the session object, use the store
method.
Stores the entity in a session, then extracts the ID from the entity or if not available generates a new one.
{CODE:python store_entities_1@ClientApi\Session\StoringEntities.py /}
Parameters | ||
---|---|---|
entity | object | Entity that will be stored |
change_vector | str | Entity change vector, used for concurrency checks (None to skip check) |
key | str | Entity will be stored under this ID, (None to generate automatically) |
{CODE:python store_entities_5@ClientApi\Session\StoringEntities.py /}