I'm just upgrading to prefect 2.0 and I' finding the secrets don't work when I try to get() them. There's a post in the community forum, but it's not resolved.
Has anyone run into this problem
AttributeError: 'coroutine' object has no attribute 'get'
and resolved it?
✅ 1
j
Jeff Hale
02/14/2023, 2:52 AM
Are you running in a Jupyter or ipython type notebook?
If so, you could just call the method in a flow and that should work.
j
Jacob Bedard
02/23/2023, 6:09 PM
Yeah, I found that putting it inside a task or flow was the trick to accessing these coroutines. I was able to achieve what I wanted to once I had it in a flow