Skip to content

Commit 7f141f4

Browse files
authored
refactor: s/canceled/cancelled/ (#75)
## What I'm changing - Closes #71 ## How I did it - `s/canceled/cancelled/` ## Checklist - [x] Tests pass: `uv run pytest` - [x] Checks pass: `uv run pre-commit --all-files` - [x] CHANGELOG is updated (if necessary)
1 parent fab618e commit 7f141f4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

stapi-pydantic/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
1111
- python `3.11` support ([#73](https://github.com/stapi-spec/pystapi/pull/73))
1212
- `stapi_type` and `stapi_version` ([#54](https://github.com/stapi-spec/pystapi/pull/54))
1313

14+
### Changed
15+
16+
- `s/canceled/cancelled/` ([#75](https://github.com/stapi-spec/pystapi/pull/75))
17+
1418
## [0.0.2] - 2025-04-02
1519

1620
### Changed

stapi-pydantic/src/stapi_pydantic/opportunity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class OpportunitySearchStatusCode(StrEnum):
5353
received = "received"
5454
in_progress = "in_progress"
5555
failed = "failed"
56-
canceled = "canceled"
56+
cancelled = "cancelled"
5757
completed = "completed"
5858

5959

stapi-pydantic/src/stapi_pydantic/order.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ class OrderStatusCode(StrEnum):
3636
accepted = "accepted"
3737
rejected = "rejected"
3838
completed = "completed"
39-
canceled = "canceled"
39+
cancelled = "cancelled"
4040
scheduled = "scheduled"
4141
held = "held"
4242
processing = "processing"
4343
reserved = "reserved"
4444
tasked = "tasked"
45-
user_canceled = "user_canceled"
45+
user_cancelled = "user_cancelled"
4646

4747

4848
class OrderStatus(BaseModel):

0 commit comments

Comments
 (0)