Happy Monday everyone! Are there any best practice...
# prefect-community
a
Happy Monday everyone! Are there any best practices for sharing “clients” between tasks? By clients I mean database clients/connections, API clients etc. I would assume there’s some care to be taken here due to the distributed nature of the tasks.
j
Hi @Adam, excellent question! Generally, Prefect tasks are assumed to be independent but we are developing tools to allow the sharing of resources among tasks that share a memory space. You can follow the progress here, from @Jim Crist-Harif: https://github.com/PrefectHQ/prefect/pull/3139
a
Excellent, will try it out once it’s released
👍 1