Documentation Index
Fetch the complete documentation index at: https://docs.encord.com/llms.txt
Use this file to discover all available pages before exploring further.
Ontology Objects
class Ontology(dict, Formatter)
__init__
def __init__(title: str,
structure: OntologyStructure,
ontology_hash: str,
created_at: datetime,
last_edited_at: datetime,
description: Optional[str] = None,
user_role: Optional[OntologyUserRole] = None)
DEPRECATED - prefer using the Ontology class instead.
This class has dict-style accessors for backwards compatibility.
Clients who are using this class for the first time are encouraged to use the property accessors and setters
instead of the underlying dictionary.
The mixed use of the dict style member functions and the property accessors and setters is discouraged.
WARNING: Do NOT use the .data member of this class. Its usage could corrupt the correctness of the
datastructure.