salmon-refrigerator-32115
10/21/2022, 9:59 PMhigh-accountant-32689
10/21/2022, 10:29 PMFeathrClient
, so as a last resort, we attempt to serialize the object via pickling, but pickle
fails with that error you pasted (i.e. TypeError: can't pickle _thread.lock objects
).
You have two options:
1. Define a type transformer for the FeathrClient
type (follow https://docs.flyte.org/projects/cookbook/en/latest/auto/core/extend_flyte/custom_types.html#advanced-custom-types for an example)
2. Define a top-level variable.salmon-refrigerator-32115
10/21/2022, 11:22 PM