You are viewing documentation about an older version (0.13.1). View latest version

snowflake.core.grant.Grantees

class snowflake.core.grant.Grantees

Bases: object

Util Class with static methods to create various Grantee class instances.

Example

>>> Grantees.role("test-role")
>>> Grantees.user("test-user")
Copy

Methods

static application(name: str) Grantee
static application_role(name: str) Grantee
static database_role(name: str) Grantee
static role(name: str) Grantee
static share(name: str) Grantee
static user(name: str) Grantee