ice_pick.privileges#

Module Contents#

Classes#

Privilege

can pass any schema object or account object

Grant

Functions#

get_supported_privileges()

A helper method to define the avaiable privileges for the assocated Snowflake object.

ice_pick.privileges.get_supported_privileges()#

A helper method to define the avaiable privileges for the assocated Snowflake object.

class ice_pick.privileges.Privilege#

can pass any schema object or account object Mostly here just to help validation

object: ice_pick.schema_object.SchemaObject | ice_pick.account_object.AccountObject | ice_pick.account_object.Account#
definition: str#
__post_init__()#
class ice_pick.privileges.Grant(session: snowflake.snowpark.Session, privilege: Privilege, role: ice_pick.account_object.Role, grant_option: str = None, future_str: str = None)#
__repr__()#

Return repr(self).

check_exists() bool#
execute_grant()#

create the grant

revoke()#
validate(GrantTree)#