scitacean.model.Sample#
- class scitacean.model.Sample(*, owner_group, access_groups=None, description=None, instrument_group=None, is_published=None, owner=None, sample_characteristics=None, sample_id=None, _created_at=None, _created_by=None, _updated_at=None, _updated_by=None)[source]#
Constructors
__init__
(*, owner_group[, access_groups, ...])Methods
Return the download model type for this user model.
from_download_model
(download_model)Construct an instance from an associated SciCat download model.
Construct a SciCat upload model from self.
Return the upload model type for this user model.
Attributes
owner_group
access_groups
description
instrument_group
is_published
owner
sample_characteristics
sample_id
created_at
created_by
updated_at
updated_by
- __init__(*, owner_group, access_groups=None, description=None, instrument_group=None, is_published=None, owner=None, sample_characteristics=None, sample_id=None, _created_at=None, _created_by=None, _updated_at=None, _updated_by=None)#
- classmethod download_model_type()[source]#
Return the download model type for this user model.
- Return type:
- classmethod from_download_model(download_model)[source]#
Construct an instance from an associated SciCat download model.
- Return type: