Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cloud-client): consider httpcore timeout when getting status #4740

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Haivilo
Copy link
Contributor

@Haivilo Haivilo commented May 16, 2024

What does this PR address?

Fixes #(issue)

Before submitting:

@Haivilo Haivilo requested a review from a team as a code owner May 16, 2024 19:51
@Haivilo Haivilo requested review from sauyon and removed request for a team May 16, 2024 19:51
@Haivilo Haivilo requested a review from FogDong May 17, 2024 02:02
@@ -487,10 +487,27 @@ def wait_until_ready(
spinner: Spinner | None = None,
spinner_task_id: TaskID | None = None,
) -> None:
from httpcore import TimeoutException
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why httpcore instead of httpx.Timeout?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use from httpx, since httpcore is considered internal :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um, the issue that was faced before actually arise from httpcore. Should we cover this case?
Screenshot 2024-05-06 at 7 21 37 PM

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.

None yet

3 participants