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
- Enterprise
- IntelliFlex
- VMware
- Product
- Teradata Package for Python
- Release Number
- 20.00.00.03
- Published
- December 2024
- ft:locale
- en-US
- ft:lastEdition
- 2024-12-19
- dita:id
- TeradataPython_FxRef_Enterprise_2000
- lifecycle
- latest
- 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 to previous time zone.
>>> set_session_param('timezone', "'GMT+1'")
True
>>> unset_session_param("timezone")
True