schrodinger.application.models.datamodels.metadata module¶
- class schrodinger.application.models.datamodels.metadata.ModelMetadata(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParamMetadata 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
pyqtSignalemitted by instances of the class.
- creatorReplaced¶
A
pyqtSignalemitted by instances of the class.
- date_createdChanged¶
A
pyqtSignalemitted by instances of the class.
- date_createdReplaced¶
A
pyqtSignalemitted by instances of the class.
- date_editedChanged¶
A
pyqtSignalemitted by instances of the class.
- date_editedReplaced¶
A
pyqtSignalemitted by instances of the class.
- descriptionChanged¶
A
pyqtSignalemitted by instances of the class.
- descriptionReplaced¶
A
pyqtSignalemitted by instances of the class.
- docstringChanged¶
A
pyqtSignalemitted by instances of the class.
- docstringReplaced¶
A
pyqtSignalemitted by instances of the class.
- last_editorChanged¶
A
pyqtSignalemitted by instances of the class.
- last_editorReplaced¶
A
pyqtSignalemitted by instances of the class.
- model_ownerChanged¶
A
pyqtSignalemitted by instances of the class.
- model_ownerReplaced¶
A
pyqtSignalemitted by instances of the class.
- nameChanged¶
A
pyqtSignalemitted by instances of the class.
- nameReplaced¶
A
pyqtSignalemitted by instances of the class.
- versionChanged¶
A
pyqtSignalemitted by instances of the class.
- versionReplaced¶
A
pyqtSignalemitted by instances of the class.