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