Resolving subproperties makes use of the "resolve_reference" function provided by the high level
entity class (CaosDBPythonEntity), with the following parameters:
- deep: Whether to use recursive retrieval
- references: Whether to use the supplied db.Container to resolve references. This allows offline usage. Set it to None if you want to automatically retrieve entities from the current CaosDB connection.
- visited: Needed for recursion, set this to None.
Objects in the high level representation can be serialized to a simple yaml form using the function
"serialize" with the following parameters:
- without_metadata: Set this to True if you don't want to see property metadata like "unit" or "importance".
- visited: Needed for recursion, set this to None.
This function creates a simple dictionary containing a representation of the entity, which can be
stored to disk and completely deserialized using the function "deserialize".
Furthermore the "__str__" function is overloaded, so that you can use print to directly inspect