hi folks! For context we’ve been using Metaflow fo...
# ask-metaflow
e
hi folks! For context we’ve been using Metaflow for a couple of years on and off at my work. But i’m trying to run the flow in a different way to usual. The flow runs fine locally but fails on AWS Batch (with custom docker container) with an obtuse
NameError
message (using metaflow 2.8.1 – not sure what other information to provide).
Copy code
File "/app/metaflow/metaflow/_vendor/click/types.py", line 89, in __init__
2023-04-03 07:39:50.134 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87]     self.name = func.__name__
2023-04-03 07:39:50.134 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87]   File "/usr/local/lib/python3.9/typing.py", line 711, in __getattr__
2023-04-03 07:39:50.134 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87]     raise AttributeError(attr)
2023-04-03 07:39:50.135 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87] AttributeError: __name__