Skip to content

Commit

Permalink
use updated project id from access key api (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
axl1313 authored Jan 22, 2025
1 parent c33be8d commit 8eb3c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"codex-sdk @ git+ssh://[email protected]/cleanlab/codex-python.git@65e466e57f61cacd16af61a3c506a9907380d9fe", # TODO: update this once we've published SDK
"codex-sdk @ git+ssh://[email protected]/cleanlab/codex-python.git@8121c341af5ecca80a946ae3ba7e0f74036ca8d9", # TODO: update this once we've published SDK
"pydantic>=1.9.0, <3",
]

Expand Down
2 changes: 1 addition & 1 deletion src/cleanlab_codex/internal/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def query_project(
read_only: bool = False,
) -> tuple[Optional[str], Optional[Entry]]:
if client.access_key is not None:
project_id = client.projects.access_keys.retrieve_project_id()
project_id = client.projects.access_keys.retrieve_project_id().project_id
elif project_id is None:
raise MissingProjectIdError

Expand Down

0 comments on commit 8eb3c22

Please sign in to comment.