Skip to content

[Bug]: Python happy path client still uses outdated import paths after v2026-01-23 update #86

@KingAlesh

Description

@KingAlesh

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

  1. Clone the samples repository

  2. Ensure python-sdk v2026-01-23 is installed

  3. Run the client:

    uv run simple_happy_path_client.py --server_url=http://localhost:8182

  4. 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

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions