Replace deprecated to_dict with model_dump for Pydantic v2 compatibility
#338
samples-python-client-echo-api.yaml
on: pull_request
Matrix: Test Python client