Order of preference between config file, environment variables and arguments of create_context - Teradata Package for Python
Teradata® Package for Python User Guide
- Deployment
- VantageCloud
- VantageCore
- Edition
- VMware
- Enterprise
- IntelliFlex
- Product
- Teradata Package for Python
- Release Number
- 20.00
- Published
- March 2025
- ft:locale
- en-US
- ft:lastEdition
- 2025-12-05
- dita:mapPath
- nvi1706202040305.ditamap
- dita:ditavalPath
- plt1683835213376.ditaval
- dita:id
- rkb1531260709148
- Product Category
- Teradata Vantage
- create_context() first looks for arguments passed to the function.
- If no argument is passed, it then looks for environment variables which are prefixed with TD_
- If it does not find any environment variable with the mentioned prefix, then it looks for config file.
- If it did not find config file, an error is returned.