snowflake.snowpark.Session.get_current_warehouse

Session.get_current_warehouse() Optional[str][source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.8.0/src/snowflake/snowpark/session.py#L2247-L2251)

Returns the name of the warehouse in use for the current session.