Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Proposal: Remove aio_client from admin client#314

Closed
mrkaye97 wants to merge 2 commits intomainfrom
proposal--rework-aio-admin-client
Closed

Proposal: Remove aio_client from admin client#314
mrkaye97 wants to merge 2 commits intomainfrom
proposal--rework-aio-admin-client

Conversation

@mrkaye97
Copy link
Contributor

@mrkaye97 mrkaye97 commented Feb 8, 2025

The aio_client on the AdminClient seems to just have a bunch of duped code that replaces the original gRPC client with the async one, which also causes problems when using asyncio.run (or other cases with existing event loops, like in Pytest). Proposal here is to replace it with a call to asyncio.to_thread on the sync methods like we do in the event client.

@mrkaye97
Copy link
Contributor Author

mrkaye97 commented Feb 8, 2025

Closing b/c breaking changes needed, will put this in the v2 sdk

@mrkaye97 mrkaye97 closed this Feb 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant