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

snowflake.core.grant.GranteeΒΆ

class snowflake.core.grant.Grantee(name: str, grantee_type: str)ΒΆ

Bases: object

Class to represent type of resource that is the privilege grantee.

Example

>>> Grantee("test-user", "user")
>>> Grantee("test-role", "role")
Copy

Attributes

grantee_typeΒΆ

String that specifies the type of resource that is the privilege grantee.

nameΒΆ

String that specifies the name of the privilege grantee.