rocklabs-io / ic-py

Python Agent Library for the DFINITY Internet Computer
MIT License
127 stars 26 forks source link

Support async request #54

Closed Myse1f closed 2 years ago

Myse1f commented 2 years ago

Currently, query_raw, update_raw is a sync function that blocks the process.

Use aiohttp to perform HTTP requests and change it to async style.

jfb commented 2 years ago

I recommend using httpx?

Myse1f commented 2 years ago

Thanks for your suggestion. Use httpx for sync and async request.