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

[Feature] Support Trio #1826

Open
merlinz01 opened this issue Dec 24, 2024 · 0 comments
Open

[Feature] Support Trio #1826

merlinz01 opened this issue Dec 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@merlinz01
Copy link

Currently Tortoise only supports code using the stdlib asyncio framework. I have a project that uses the trio async framework and I wanted to use Tortoise for the database functionality but ran into errors from Tortoise using asyncio.

The changes required to support trio would be substituting asyncio with the anyio package. This would most likely require some API changes to support the structured concurrency patterns used in trio/anyio.

I likely won't end up using Tortoise in my trio-based project, at least for now, but I wanted to open this issue to see whether this might be possible to support.

@henadzit henadzit added the enhancement New feature or request label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants