Skip to content

Even more efficient httpx#206

Merged
rwiker merged 5 commits intomainfrom
even-more-efficient-httpx
Jun 21, 2024
Merged

Even more efficient httpx#206
rwiker merged 5 commits intomainfrom
even-more-efficient-httpx

Conversation

@rwiker
Copy link
Copy Markdown
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 thread src/sumo/wrapper/sumo_client.py Outdated
Comment on lines +120 to +123
# async def closeit():
# await self._async_client.aclose()
# return
# asyncio.run(closeit())
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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