Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

trio support #1978

Closed
dhirschfeld-shell opened this issue Sep 30, 2022 · 3 comments
Closed

trio support #1978

dhirschfeld-shell opened this issue Sep 30, 2022 · 3 comments
Labels
Python question Questions about use, potential features, or improvements

Comments

@dhirschfeld-shell
Copy link

Feature Request

My async library of choice is trio rather than asyncio. Since perspective now supports starlette which in turn supports trio via the anyio library I'm wondering if it will Just Work, or if there are hard-coded asyncio assumptions in perspective itself which will prevent that?

If the latter, this issue can be a feature request to replace any hard-coded asyncio assumptions with their anyio equivalents.

@dhirschfeld
Copy link
Contributor

I plan to test this out via trial and error, but it would be good to know if it is expected that trio should work or is expected to fail.

@timkpaine timkpaine added question Questions about use, potential features, or improvements Python labels Sep 30, 2022
@dhirschfeld
Copy link
Contributor

Thanks for the info @timkpaine! If it's just that file, it seems feasible to try patching it. If I get something working with trio I'll make sure to post back here with my solution.

It may take a little while as it will probably be a case of implementing with asyncio first and then porting to ensure I don't break anything...

@finos finos locked and limited conversation to collaborators Oct 1, 2022
@timkpaine timkpaine converted this issue into discussion #1979 Oct 1, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Python question Questions about use, potential features, or improvements
Projects
None yet
Development

No branches or pull requests

3 participants