Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 5d38e15

Browse files
author
Phil Varner
committed
allow extra fields in OrderStatus
1 parent 37318ee commit 5d38e15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/stapi_fastapi/models/order.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class OrderStatus(BaseModel):
4444
reason_text: Optional[str] = None
4545
links: list[Link] = Field(default_factory=list)
4646

47+
model_config = ConfigDict(extra="allow")
48+
4749

4850
class OrderStatuses(BaseModel):
4951
statuses: list[OrderStatus]

0 commit comments

Comments
 (0)