OrgCustom

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)