snowflake.core.grant.Grantees¶

class snowflake.core.grant.Grantees¶

Bases: object

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

Examples

Setting test-user to user and test-role to role:

>>> 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¶