Skip to content

Conversation

@n-watts
Copy link

@n-watts n-watts commented Jan 15, 2026

What changed

  • Added a compact cart snapshot helper to the flower_shop happy path client.
  • Logs item titles + quantities and the current total after key checkout session updates:
    • session creation
    • adding items
    • applying discount

Why

  • Makes the sample output easier to follow and debug (you can see what’s in the cart at each step), without logging any PII or payment details.

Test

  • Ran the python server + flower_shop simple_happy_path_client.py end-to-end locally.

@n-watts n-watts requested a review from a team January 15, 2026 22:59
@google-cla
Copy link

google-cla bot commented Jan 15, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Contributor

@0x8000-0000 0x8000-0000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check in the changed rest/python/client/flower_shop/sample_output/happy_path_dialog.md as well.

Ensure that there are no linter or formatting reports (we are adding linter actions to GitHub).

@n-watts
Copy link
Author

n-watts commented Jan 16, 2026

Fixed remaining ruff docstring issues (imperative mood + whitespace).
ruff check . and ruff format --check . now pass cleanly (run from rest/python/client/flower_shop).

sample_output/happy_path_dialog.md remains unchanged since this PR only affects runtime logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants