Skip to content

Commit

Permalink
Fix the get datasource issue with no run id (#147) (#150)
Browse files Browse the repository at this point in the history
* fixed the get run id issue

* Reverted unnecessary change

* Update pyproject.toml
  • Loading branch information
ddl-joyce-zhao authored Nov 5, 2024
1 parent 7bded3f commit b59b1f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion domino_data/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit b59b1f0

Please sign in to comment.