mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-14 04:31:02 +00:00
14 lines
406 B
Python
14 lines
406 B
Python
![]() |
from datahub.emitter.mcp_builder import ContainerKey
|
||
|
from datahub.sdk import Container, DataHubClient
|
||
|
|
||
|
client = DataHubClient.from_env()
|
||
|
|
||
|
# datajob will inherit the platform and platform instance from the flow
|
||
|
|
||
|
container = Container(
|
||
|
container_key=ContainerKey(platform="mlflow", name="airline_forecast_experiment"),
|
||
|
display_name="Airline Forecast Experiment",
|
||
|
)
|
||
|
|
||
|
client.entities.upsert(container)
|