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.
Examples
Setting test-user to user and test-role to role:
>>> Grantee("test-user", "user") >>> Grantee("test-role", "role")
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.