Jérémy Trudel
04/21/2021, 1:34 PMKevin Kho
Jérémy Trudel
04/21/2021, 1:45 PMrollbar.init(access_token)
I wanted to know if it was possible to have an object that would be mapped (so the run method would be called multiple times), but the
__init__()
would be called only once. Does that make sense?
I'm trying to avoid having a separate task for initialization, so that the mapped task could be easily reusable in different scripts without always setting up first an initialization unstream task. I hope that makes senseKevin Kho
unmapped
input. The issue is that I think the rollbar object may be unserializable, and task outputs need to be serializable to be distributable to DaskExecutor
workers.Jérémy Trudel
04/21/2021, 2:01 PM