GM I am using the Python Client to start a deploym...
# ask-community
g
GM I am using the Python Client to start a deployment and pass in a dict which has some UUID field, but I getting an error like this
TypeError: Object of type 'QueryStatusMessage' is not JSON serializable
is there a way to set the clients or server to default str like this example
json.dumps({"pk": pk}, default=str)
Copy code
async with get_client() as client:
        response = await client.create_flow_run_from_deployment(
            deployment_id=deployments["example_deployment"],
            idempotency_key=idempotency_key,
            tags=tags,
            parameters=parameters,
        )
k
UUIDs will haunt us all eternally, lol. What if you dumped to json, then loaded back to a dict, then passed that in as parameters?