Skip to main content

NamedModel

NamedModel class that contains some common fields of Datagrok entities.

Attributes

NameTypeDescription
nameOptional[str]Internal name of the model, used as an identifier.
idOptional[str]Unique identifier for the model instance. Can be None for new instances.
friendly_nameOptional[str]Human-readable name for display purposes. Defaults to None.
created_onOptional[datetime]Timestamp indicating when the model was created. Defaults to None.
updated_onOptional[datetime]Timestamp indicating when the model was last updated. Defaults to None.
namespaceOptional[str]Optional namespace prefix to distinguish models with the same name. Defaults to None.

Methods

__init__()

grok_name()

to_dict()

Convert the model to a dictionary representation.