Teradata Package for Python Function Reference on VantageCloud Lake - unset_session_param - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.

Teradata® Package for Python Function Reference on VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Package for Python
Release Number
20.00.00.08
Published
November 2025
ft:locale
en-US
ft:lastEdition
2025-12-05
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.dbutils.dbutils.unset_session_param = unset_session_param(name)
DESCRIPTION:
    Function to unset the session parameter.
 
PARAMETERS:
    name:
        Required Argument.
        Specifies the parameter to unset for the session.
        Permitted Values: timezone, account, calendar, collation,
                          database, dataform, character_set_unicode,
                          debug_function, isolated_loading, function_trace,
                          json_ignore_errors, query_band
        Type: str
 
Returns:
    True, if successfully unsets the session parameter.
 
RAISES:
ValueError, teradatasql.OperationalError
 
EXAMPLES:
    # Example 1: Unset session's time zone to previous time zone.
    >>> set_session_param('timezone', "'GMT+1'")
    True
    >>> unset_session_param("timezone")
    True