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

Add async support #337

Open
Zaczero opened this issue Oct 20, 2023 · 0 comments
Open

Add async support #337

Zaczero opened this issue Oct 20, 2023 · 0 comments

Comments

@Zaczero
Copy link

Zaczero commented Oct 20, 2023

Use case
I use streaming parsing (xmltodict.parse) since the files I handle are quite large. Inside the item_callback method, I want to execute some asynchronous code, such as uploading the processed batch to a database.

I would greatly appreciate seeing an implementation based on AnyIO, which would make the library compatible with the most widely used async backends, including asyncio and trio.

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

No branches or pull requests

1 participant