DAGWorks Tracking Adapter
Instructions on how to use the DAGWorks Tracking Adapter.
DAGWorks Tracking Adapter
Connecting with the Hosted Hamilton UI on DAGWorks takes the form of an adapter that forms a plug-in addition to the Hamilton Driver. The Hamilton driver accepts adapters, so adding in DAGWorks, allows you to run your Hamilton dataflows as usual, while also logging/tracking them with DAGWorks.
You can import the adapter as follows:
And instantiate it:
The DAGWorksTracker accepts DAGWorks-specific arguments (all keyword-only):
project_id
project_id
int
Project ID from the UI. Project must already be created.
Keyword-only argument.
api_key
api_key
str
API key from the UI.
Keyword-only argument.
username
username
str
Login from the API — full email.
Keyword-only argument.
dag_name
dag_name
str
Name corresponding to the project version. See data model for more details on how this is used.
Keyword-only argument.
tags
tags
Dict[str, str]
Tags for locating in the UI/metadata that you can use to store information and filter runs/versions.
Keyword-only argument.