Skip to content

Commit 973d0dc

Browse files
authored
docs: format README Python example (#95)
format the Python comments in the README usage example with the repository-pinned Ruff formatter keep model generation from producing an unrelated README diff
1 parent c0c4a3b commit 973d0dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ from ucp_sdk.models.schemas.shopping.checkout import Checkout
7272
checkout = Checkout.model_validate(checkout_data)
7373

7474
# Access typed fields
75-
print(checkout.status) # "incomplete" | "ready_for_complete" | ...
76-
print(checkout.currency) # ISO 4217 currency code
75+
print(checkout.status) # "incomplete" | "ready_for_complete" | ...
76+
print(checkout.currency) # ISO 4217 currency code
7777
for item in checkout.line_items:
7878
print(f"{item.item.title}: {item.quantity}")
7979
```

0 commit comments

Comments
 (0)