scitacean.model.Relationship#
- class scitacean.model.Relationship(*, pid, relationship)[source]#
Constructors
__init__
(*, pid, relationship)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
pid
relationship
- __init__(*, pid, relationship)#
- 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: