schrodinger.application.models.datamodels.metadata module

class schrodinger.application.models.datamodels.metadata.ModelMetadata(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

Metadata common to all model definitions and configurations.

name: str

A parameter of the class.

model_id: str

A parameter of the class.

description: str

A parameter of the class.

docstring: str

A parameter of the class.

version: str

A parameter of the class.

creator: str

A parameter of the class.

model_owner: str

A parameter of the class.

last_editor: str

A parameter of the class.

date_edited: datetime

A parameter of the class.

date_created: datetime

A parameter of the class.

initializeValue()

Override to dynamically set up the default value of the param. Useful for default values that are determined at runtime. This is called any time the param is reset.

recordCreation() None

Update metadata to reflect that the model was created.

recordEdit() None

Update metadata to reflect that the model was edited.

touch() None

Update metadata to reflect that the model was just edited. Replicates the Unix touch command.

generateNewVersion() None

Generate a new unique version string for this model.

generateNewId() None

Generate a new unique ID for this model metadata.

creatorChanged

A pyqtSignal emitted by instances of the class.

creatorReplaced

A pyqtSignal emitted by instances of the class.

date_createdChanged

A pyqtSignal emitted by instances of the class.

date_createdReplaced

A pyqtSignal emitted by instances of the class.

date_editedChanged

A pyqtSignal emitted by instances of the class.

date_editedReplaced

A pyqtSignal emitted by instances of the class.

descriptionChanged

A pyqtSignal emitted by instances of the class.

descriptionReplaced

A pyqtSignal emitted by instances of the class.

docstringChanged

A pyqtSignal emitted by instances of the class.

docstringReplaced

A pyqtSignal emitted by instances of the class.

last_editorChanged

A pyqtSignal emitted by instances of the class.

last_editorReplaced

A pyqtSignal emitted by instances of the class.

model_idChanged

A pyqtSignal emitted by instances of the class.

model_idReplaced

A pyqtSignal emitted by instances of the class.

model_ownerChanged

A pyqtSignal emitted by instances of the class.

model_ownerReplaced

A pyqtSignal emitted by instances of the class.

nameChanged

A pyqtSignal emitted by instances of the class.

nameReplaced

A pyqtSignal emitted by instances of the class.

versionChanged

A pyqtSignal emitted by instances of the class.

versionReplaced

A pyqtSignal emitted by instances of the class.