https://prefect.io logo
s

Slackbot

09/30/2020, 2:32 PM
This message was deleted.
j

josh

09/30/2020, 2:39 PM
@Ralph Willgoss it looks like you’re trying to access the value from the result based on a list as a key and I don’t think that pattern is supported by python
Copy code
In [1]: a = {1: 2}

In [2]: a[[1]]
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-2cff107a7920> in <module>
----> 1 a[[1]]

TypeError: unhashable type: 'list'
r

Ralph Willgoss

09/30/2020, 2:40 PM
ah ok, thanks. So I just need to wrap it before returning from the other workflow?
j

josh

09/30/2020, 2:41 PM
It would seem so, yes
r

Ralph Willgoss

09/30/2020, 2:41 PM
ok thanks, ill try