Skip to content

Commit 518785d

Browse files
committed
fix: address review comments
1 parent bf956ae commit 518785d

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

specifications/SPEC_PLATFORM_SERVICE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ ApplicationVersionDocument:
204204
```mermaid
205205
graph TD
206206
A[User Request] --> X{External Token Provider?}
207-
X -->|Yes| I[Create API Client with External Provider]
207+
X -->|Yes| I_ext[Create API Client with External Provider]
208208
X -->|No| B{Token Cached?}
209209
B -->|Yes| C[Use Cached Token]
210210
B -->|No| D[OAuth Authentication]
@@ -219,6 +219,7 @@ graph TD
219219

220220
H --> I[Create API Client]
221221
I --> J[Make API Request]
222+
I_ext --> J
222223
J --> K[Return Results]
223224

224225
L[Health Check] --> M[Check API Status]

src/aignostics/platform/_client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ def __init__(self, cache_token: bool = True, token_provider: Callable[[], str] |
7070
Sets up resource accessors for applications, versions, and runs.
7171
"""
7272
try:
73-
logger.trace("Initializing client with cache_token={}, token_provider={}", cache_token, token_provider)
73+
logger.trace(
74+
"Initializing client with cache_token={}, token_provider={}",
75+
cache_token,
76+
type(token_provider).__name__ if token_provider is not None else None,
77+
)
7478
self._api = Client.get_api_client(cache_token=cache_token, token_provider=token_provider)
7579
self.applications: Applications = Applications(self._api)
7680
self.runs: Runs = Runs(self._api)

0 commit comments

Comments
 (0)