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.

description: str

A parameter of the class.

docstring: str

A parameter of the class.

version: int

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.

recordCreation() None

Update metadata to reflect that the model was created.

recordEdit(bump_version: bool = True) None

Update metadata to reflect that the model was edited.

Params bump_version:

If True, increment the version number.

touch() None

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

bumpVersion() None

Increments the version

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_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.