You are viewing documentation about an older version (0.13.1). 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.