aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Use contextvars for managing dependency injection

Open andrewwhitehead opened this issue 3 years ago • 2 comments

If we increase the minimum required Python version to 3.7, then we can support the use of contextvars. I'm not sure what an implementation would look like yet, but this should allow us to easily inject dependencies without explicitly passing in Context-type objects every time.

andrewwhitehead avatar Sep 02 '21 18:09 andrewwhitehead

I believe the minimum version supported by ACA-Py is currently 3.9: what work would be required to complete this issue, a refactor of the current code?

esune avatar Dec 12 '23 20:12 esune

Correct min supported python version for ACA-Py is 3.9

WadeBarnes avatar Dec 12 '23 20:12 WadeBarnes