snowflake.snowpark.Session.SessionBuilder.app_name¶
- SessionBuilder.app_name(app_name: str, format_json: bool = False) SessionBuilder¶
Adds the app name to the
SessionBuilderto set in the query_tag after session creation- Parameters:
app_name – The name of the application.
format_json – If set to True, it will add the app name to the session query tag in JSON format, otherwise, it will add it using a key=value format.
- Returns:
A
SessionBuilderinstance.
- Example::