scitacean.model.DownloadRelationship#

pydantic model scitacean.model.DownloadRelationship[source]#
field pid: PID | None = None#
field relationship: str | None = None#
classmethod upload_model_type()[source]#

Return the upload model type for this model.

Returns None if the model cannot be uploaded or this is an upload model.

Return type:

type[UploadRelationship]

classmethod user_model_type()[source]#

Return the user model type for this model.

Returns None if there is no user model, e.g., for Dataset where there is a custom class instead of a plain model.

Return type:

type[Relationship]