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

Even more efficient httpx #206

Merged
merged 5 commits into from
Jun 21, 2024
Merged

Even more efficient httpx #206

merged 5 commits into from
Jun 21, 2024

Conversation

rwiker
Copy link
Contributor

@rwiker rwiker commented Jun 20, 2024

  • Reuse httpx client objects for the async methods, too.
  • Share SumoClient's httpx client objects with the BlobClient objects.

@rwiker rwiker requested a review from a team June 20, 2024 13:17
Comment on lines 120 to 123
# async def closeit():
# await self._async_client.aclose()
# return
# asyncio.run(closeit())
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to close here?

@equinor-ruaj
Copy link
Contributor

equinor-ruaj commented Jun 20, 2024

Black and flake checks are stuck in "Waiting for status to be reported".
Should be fixed by #207
(Have to re-trigger by committing if we want to test the fix with this PR)

@rwiker rwiker requested a review from equinor-ruaj June 21, 2024 10:01
Copy link
Contributor

@equinor-ruaj equinor-ruaj left a comment

Choose a reason for hiding this comment

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

lgtm

@rwiker rwiker merged commit e399121 into main Jun 21, 2024
19 checks passed
@rwiker rwiker deleted the even-more-efficient-httpx branch June 21, 2024 11:56
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