File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -111,16 +111,6 @@ The application is configurable via environment variables.
111
111
}
112
112
}
113
113
```
114
- - `ITEMS_FILTER_ENDPOINTS`
115
- - Where to apply item filtering
116
- - **Type:** JSON object mapping regex patterns to HTTP methods
117
- - **Required:** No, defaults to the following:
118
- ```json
119
- {
120
- "^/search$" : [" GET" , " POST" ],
121
- "^/collections/([^/]+)/items$" : [" GET" , " POST" ]
122
- }
123
- ```
124
114
125
115
### Customization
126
116
Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ class Settings(BaseSettings):
65
65
66
66
# Filters
67
67
items_filter : Optional [ClassInput ] = None
68
- items_filter_endpoints : Optional [EndpointMethods ] = {
69
- r"^/search$" : ["GET" , "POST" ],
70
- r"^/collections/([^/]+)/items$" : ["GET" , "POST" ],
71
- }
72
68
73
69
model_config = SettingsConfigDict ()
74
70
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ async def receive_build_filter() -> Message:
75
75
def _get_filter (self , path : str ) -> Optional [Callable [..., Expr ]]:
76
76
"""Get the CQL2 filter builder for the given path."""
77
77
endpoint_filters = [
78
- # TODO: Use collections_filter_endpoints & items_filter_endpoints
79
78
(filters .is_collection_endpoint , self .collections_filter ),
80
79
(filters .is_item_endpoint , self .items_filter ),
81
80
(filters .is_search_endpoint , self .items_filter ),
You can’t perform that action at this time.
0 commit comments