Teradata Package for Python Function Reference | 20.00 - 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 - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00.00.11
Published
August 2026
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:id
TeradataPython_FxRef_Enterprise_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