CData Python Connector for DataRobot

Build 21.0.7930

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy. For this connector, either of the following URL formats are acceptable when creating the engine:

Format 1


from sqlalchemy import create_engine
engine = create_engine("datarobot:///?User=CData;Password=CData;DataRobotKey=123-abc-456-def;PredictionInstance=myinstance.orm.datarobot.com;DataFile=PATH\\TO\\input_file.csv;")

Format 2


from sqlalchemy import create_engine
engine = create_engine("datarobot://User:Password@/?DataRobotKey=123-abc-456-def;PredictionInstance=myinstance.orm.datarobot.com;DataFile=PATH\\TO\\input_file.csv;")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930