open-feature / python-sdk

Python SDK for OpenFeature
https://openfeature.dev
Apache License 2.0
48 stars 16 forks source link

Python Asynchronous I/O Support #284

Open ChihweiLHBird opened 6 months ago

ChihweiLHBird commented 6 months ago

It would be nice to support Python's asyncio for provider and application authors because it's faster than multithreading for I/O, e.g. API request made to the backend server of the feature flags.

federicobond commented 6 months ago

Sure! Speaking for myself as a maintainer I don't have much experience with async in Python.

Would you be willing to hash out the details and/or provide a proof of concept for how it would work? I can help with review.

ChihweiLHBird commented 6 months ago

@federicobond Thank you! I can give it a try at a later point.