scitacean.model.Instrument#

class scitacean.model.Instrument(*, _custom_metadata=None, _name=None, _pid=None, _unique_name=None)[source]#

Constructors

__init__(*[, _custom_metadata, _name, _pid, ...])

Methods

download_model_type()

Return the download model type for this user model.

from_download_model(download_model)

Construct an instance from an associated SciCat download model.

make_upload_model()

rtype:

BaseModel

upload_model_type()

Return the upload model type for this user model.

Attributes

custom_metadata

name

pid

unique_name

__init__(*, _custom_metadata=None, _name=None, _pid=None, _unique_name=None)#
classmethod download_model_type()[source]#

Return the download model type for this user model.

Return type:

type[DownloadInstrument]

classmethod from_download_model(download_model)[source]#

Construct an instance from an associated SciCat download model.

Return type:

Instrument