snowflake.snowpark.Session.use_role

Session.use_role(role: str) None[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.25.0/snowpark-python/src/snowflake/snowpark/session.py#L3223-L3229)

Specifies the active/current primary role for the session.

Parameters:

role – the role name.

语言: 中文