The get_context function returns the Vantage engine associated with the current context.
Example
Create a context using username & password.
>>> from teradataml.context.context import * >>> from teradataml.dataframe.dataframe import DataFrame >>> create_context(host = "myhostname", username="myusername", password = "mypassword")
Get the connection engine.
>>> get_context() Engine(teradatasql://myusername:***@myhostname)