FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix/Move the nest-asyncio apply into an init hook by awalker4 · Pull Request #107 · Unstructured-IO/unstructured-python-client · GitHub

fix/Move the nest-asyncio apply into an init hook - #107

Merged
awalker4 merged 1 commit into
mainfrom
austin/nested-async
Jun 6, 2024
Merged

fix/Move the nest-asyncio apply into an init hook#107
awalker4 merged 1 commit into
mainfrom
austin/nested-async

Conversation

awalker4 commented Jun 5, 2024

Copy link
Copy Markdown
Collaborator

We're seeing an issue where the nest_asyncio.apply() workaround for nested loops is breaking when we're dealing with a uvloop. We need to investigate further, or remove the bandaid solution. In the meantime, we can unblock a simple import of the client in these environments by doing the apply only when the hook is run.

We're seeing an issue where the nest_asyncio.apply() workaround for nested loops is breaking when
we're dealing with a `uvloop`. We need to investigate further, or remove the bandaid solution. In
the meantime, we can unblock a simple import of the client in these environments by doing the apply
only when the hook is run.
awalker4 requested a review from vangheem June 5, 2024 22:06
awalker4 enabled auto-merge (squash) June 5, 2024 23:10
awalker4 merged commit 799e204 into main Jun 6, 2024
awalker4 deleted the austin/nested-async branch June 6, 2024 15:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL