From cecf7e1769ba350ac67075347d4e894756a99a20 Mon Sep 17 00:00:00 2001 From: ddl-joyce-zhao <107629651+ddl-joyce-zhao@users.noreply.github.com> Date: Thu, 23 May 2024 17:58:00 -0400 Subject: [PATCH] Fix the get datasource issue with no run id (#147) * fixed the get run id issue * Reverted unnecessary change * Update pyproject.toml --- domino_data/data_sources.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/domino_data/data_sources.py b/domino_data/data_sources.py index 5edcaab..5084aad 100644 --- a/domino_data/data_sources.py +++ b/domino_data/data_sources.py @@ -653,7 +653,7 @@ def get_datasource(self, name: str) -> Datasource: """ logger.info("get_datasource", datasource_name=name) - run_id = os.getenv(DOMINO_RUN_ID, "") + run_id = os.getenv(DOMINO_RUN_ID) response = get_datasource_by_name.sync_detailed( name, client=self.domino.with_auth_headers(), diff --git a/pyproject.toml b/pyproject.toml index 9eba443..9deebe8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "dominodatalab-data" -version = "6.0.0.dev1" +version = "6.0.0" description = "Domino Data API for interacting with Domino Data features" readme = "README.md" authors = [