Skip to content

Commit a34ef2c

Browse files
authored
American spelling in two comments (#138)
## Summary American spelling in two comments (serialize), from a workspace-wide sweep for British forms. The receipt's fulfillment status values stay as the wire contract spells them. Nothing published changes and no release is cut for it. Worked with: Varun. ## Type of change - [ ] Bug fix (no breaking change) - [ ] New feature (no breaking change) - [ ] Breaking change (existing callers must update) - [x] Docs, tests, or internal maintenance only ## Public API none ## Test plan `ruff check`, `ruff format --check`, `pytest tests/` locally. ## Checklist - [x] Tests cover the new behavior, and the suite passes locally - [x] Lint, format, and type checks pass - [x] Docs and README examples updated if the public surface changed - [x] No secrets, credentials, or personal data in the diff or the tests
1 parent fe69821 commit a34ef2c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎agentscore_commerce/challenge/body.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def build_402_body(
102102
if agent_memory is not None:
103103
# AgentMemoryHint is a dataclass; merchants pass it directly via
104104
# first_encounter_agent_memory(...). Convert here so JSONResponse /
105-
# json.dumps can serialise without per-merchant boilerplate.
105+
# json.dumps can serialize without per-merchant boilerplate.
106106
body["agent_memory"] = (
107107
asdict(agent_memory) if is_dataclass(agent_memory) and not isinstance(agent_memory, type) else agent_memory
108108
)

‎tests/test_checkout.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class _Verified:
331331

332332
async def settle_payment(self, _payload: Any, _requirement: Any) -> Any:
333333
# ProcessX402Settle treats a falsy success as a settle_failed phase via the
334-
# exception raised by settle_result_to_json_bytes when it tries to serialise
334+
# exception raised by settle_result_to_json_bytes when it tries to serialize
335335
# an empty dict, so we shape the response as a plain JSON-serializable dict.
336336
if not self.settle_success:
337337
raise RuntimeError("settle rejected")

0 commit comments

Comments
 (0)