from datahub.metadata.urns import TagUrn from datahub.sdk import Chart, DataHubClient client = DataHubClient.from_env() chart = Chart( name="example_chart", platform="looker", description="looker chart for production", tags=[TagUrn(name="production"), TagUrn(name="data_engineering")], ) client.entities.upsert(chart)