Skip to content

Refactor api_client: Fix typo, add invalid token exception handling#301

Closed
IgorChvyrov-sm wants to merge 2 commits intoconductor-oss:mainfrom
IgorChvyrov-sm:invalid_token_error_handling
Closed

Refactor api_client: Fix typo, add invalid token exception handling#301
IgorChvyrov-sm wants to merge 2 commits intoconductor-oss:mainfrom
IgorChvyrov-sm:invalid_token_error_handling

Conversation

@IgorChvyrov-sm
Copy link
Copy Markdown
Contributor

@IgorChvyrov-sm IgorChvyrov-sm commented Jul 14, 2025

Related Issue: #299

Changes:
Fixed 4 linting errors in the python-sdk/src/conductor/client/http/api_client.py file by replacing improper type comparisons with Python best practices.
Reason:
The E721 rule from Ruff/Flake8 states: "Use is and is not for type comparisons, or isinstance() for isinstance checks"

Changes:
Added handling invalid authentication token errors in the API client.
Reason:
#299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants