Visibility¶
Note
New in version 0.17.0.
-
class
verta.visibility.
OrgCustom
(write=False, deploy=False)¶ Organization-wide access with manually-specified permissions.
Note
With an older ModelDB backend that does not support new permissions values, this will be converted to
OrgDefault
.Parameters: - write (bool, default False) – Whether to allow organization members to write.
False
gives read-only access. - deploy (bool, default False) – Whether to allow organization members to deploy. Only applicable to projects and registered models.
Examples
from verta.visibility import OrgCustom visibility = OrgCustom(write=True, deploy=True) client.create_project("My Project", workspace="my-org", visibility=visibility)
- write (bool, default False) – Whether to allow organization members to write.
-
class
verta.visibility.
OrgDefault
¶ Organization-wide access with default permissions set by the org admin.
Examples
from verta.visibility import OrgDefault visibility = OrgDefault() client.create_project("My Project", workspace="my-org", visibility=visibility)
-
class
verta.visibility.
Private
¶ Private and not visible to other organization members.
Examples
from verta.visibility import Private visibility = Private() client.create_project("My Project", workspace="my-org", visibility=visibility)