groups
cloud.groups
Functions for managing TileDB Cloud groups.
Functions
Name | Description |
---|---|
create | Creates a new TileDB Cloud group. |
delete | Deletes a group. |
deregister | Deregisters the given group from TileDB Cloud. |
info | Gets metadata about the named TileDB Cloud group. |
list_shared_with | List a group’s sharing policies. |
register | Registers a pre-existing group. |
share_group | Shares group with given namespace and permissions. |
unshare_group | Removes sharing of a group from given namespace |
update_info | Update Group Attributes |
create
cloud.groups.create(
name*
=None
namespace=None
parent_uri=None
storage_uri=None
credentials_name )
Creates a new TileDB Cloud group.
Parameters
Name | Type | Description | Default |
---|---|---|---|
name | str | The name of the group to create, or its URI. | required |
namespace | Optional[str] | The namespace to create the group in. If name is a URI, this must not be provided. If not provided, the current logged-in user will be used. |
None |
parent_uri | Optional[str] | The parent URI to add the group to, if desired. | None |
storage_uri | Optional[str] | The backend URI where the group will be stored. If not provided, uses the namespace’s default storage path for groups. | None |
credentials_name | Optional[str] | The name of the storage credential to use for creating the group. If not provided, uses the namespace’s default credential for groups. | None |
delete
=False) cloud.groups.delete(uri, recursive
Deletes a group.
Parameters
Name | Type | Description | Default |
---|---|---|---|
uri | str | TileDB Group URI. | required |
recursive | bool | Delete all off the group’s contents, defaults to False | False |
deregister
*, recursive=False) cloud.groups.deregister(uri,
Deregisters the given group from TileDB Cloud.
Parameters
Name | Type | Description | Default |
---|---|---|---|
uri | str | The URI of the group to deregister. | required |
recursive | bool | If true, deregister the group recursively by deregistering all of the elements of the group (and all elements of those groups, recursively) before deregistering the group itself. | False |
info
cloud.groups.info(uri)
Gets metadata about the named TileDB Cloud group.
register
cloud.groups.register(
storage_uri*
=None
dest_uri=None
name=None
namespace=None
credentials_name=None
parent_uri )
Registers a pre-existing group.
update_info
cloud.groups.update_info(
uri*
=None
description=None
name=None
logo=None
tags )
Update Group Attributes
Parameters
Name | Type | Description | Default |
---|---|---|---|
uri | str | URI of the group in the form ‘tiledb:// |
required |
description | Optional[str] | Group description, defaults to None | None |
name | Optional[str] | Group’s name, defaults to None | None |
logo | Optional[str] | Group’s logo, defaults to None | None |
tags | Optional[List[str]] | Group tags, defaults to None | None |
Returns
Name | Type | Description |
---|---|---|
None | None |