I'm just upgrading to prefect 2.0 and I' finding t...
# data-tricks-and-tips
j
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
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
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
👍 1