Find answers from the community

Updated 10 months ago

Hi! Is it intentional that we can't pass

At a glance

The community member is asking if it is intentional that they cannot pass custom objects as parameters through a query pipeline run method, as it only accepts serializable objects. When they try to pass a custom object, it fails in some inner calls to json.dump.

Another community member suggests that this seems like a bug, and that the method is mostly for logging. They believe the method is supposed to catch the error, but they suspect that TypeError is not the correct error to catch.

There is no explicitly marked answer in the comments.

Hi! Is it intentional that we can't pass custom objects params through a query pipeline run method? It accepts only serializable objects, when trying to pass a custom object, it fails in some inner calls to json.dump
L
1 comment
hmm, that seems like a bug, its mostly for logging.

It looks like its supposed to catch the error, but I'm guessing TypeError is not the correct error to catch
Add a reply
Sign up and join the conversation on Discord