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

Commit 8a4c3c3

Browse files
readability clean up on OpportunityRequest model
1 parent 5a01787 commit 8a4c3c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/stapi_fastapi/models/opportunity.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ class OpportunityRequest(BaseModel):
2121
geometry: Geometry
2222
# TODO: validate the CQL2 filter?
2323
filter: CQL2Filter | None = None
24-
model_config = ConfigDict(strict=True)
2524
next: str | None = None
2625
limit: int = 10
2726

27+
model_config = ConfigDict(strict=True)
28+
2829

2930
G = TypeVar("G", bound=Geometry)
3031
P = TypeVar("P", bound=OpportunityProperties)

0 commit comments

Comments
 (0)