Meta

class Meta(*, definition: Definition | None = None, subsets: list[str] | None = None, xrefs: list[Xref] | None = None, synonyms: list[Synonym] | None = None, comments: list | None = None, version: str | None = None, basicPropertyValues: list[Property] | None = None, deprecated: bool = False, standardized: bool = False)[source]

Bases: BaseModel, StandardizeMixin

Represents the metadata about a node or ontology.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

standardize()

Standardize the metadata.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

standardize() Self[source]

Standardize the metadata.