Describe the bug
Hello,
I was testing the Python happy path client in:
samples/rest/python/client/flower_shop/simple_happy_path_client.py
after the recent update:
"fix: Update python server /samples to UCP 01-23 version"
The server-side changes appear to have been updated to the new SDK naming, but the client still contains old import paths (e.g. *_req modules).
For example, I had to update imports like:
from ucp_sdk.models.schemas.shopping import checkout_create_req
to:
from ucp_sdk.models.schemas.shopping import checkout_create_request
(and similarly for item, line_item, payment, etc.)
After updating these imports, the client runs successfully.
Happy to open a PR to update the client imports if that’s helpful.
To Reproduce
-
Clone the samples repository
-
Ensure python-sdk v2026-01-23 is installed
-
Run the client:
uv run simple_happy_path_client.py --server_url=http://localhost:8182
-
Observe import errors related to modules such as:
- checkout_create_req
- item_create_req
- line_item_create_req
Expected behavior
The client should run successfully against python-sdk v2026-01-23 without requiring any manual changes to import paths.
Screenshots
No response
Additional context
No response
Code of Conduct
Describe the bug
Hello,
I was testing the Python happy path client in:
samples/rest/python/client/flower_shop/simple_happy_path_client.py
after the recent update:
"fix: Update python server /samples to UCP 01-23 version"
The server-side changes appear to have been updated to the new SDK naming, but the client still contains old import paths (e.g. *_req modules).
For example, I had to update imports like:
from ucp_sdk.models.schemas.shopping import checkout_create_req
to:
from ucp_sdk.models.schemas.shopping import checkout_create_request
(and similarly for item, line_item, payment, etc.)
After updating these imports, the client runs successfully.
Happy to open a PR to update the client imports if that’s helpful.
To Reproduce
Clone the samples repository
Ensure python-sdk v2026-01-23 is installed
Run the client:
uv run simple_happy_path_client.py --server_url=http://localhost:8182
Observe import errors related to modules such as:
Expected behavior
The client should run successfully against python-sdk v2026-01-23 without requiring any manual changes to import paths.
Screenshots
No response
Additional context
No response
Code of Conduct