Skip to content

restrict

pyDataverse.models.file.restrict

Restrict or unrestrict a datafile.

Attributes

NameTypeDescription
restrictboolWhether to restrict access to the file
enable_access_requestAnnotated[Optional[bool], Field(alias='enableAccessRequest')]Whether to enable access requests for the restricted file
terms_of_accessAnnotated[Optional[str], Field(alias='termsOfAccess')]Reason or terms for the restricted access