@@ -107,23 +107,18 @@ The application is configurable via environment variables.
107
107
- **Required:** No, defaults to `null` (disabled)
108
108
- **Example:** `/api`
109
109
- Filtering
110
- - **`ITEMS_FILTER `**, [cql2 expression](https://developmentseed.org/cql2-rs/latest/python/#cql2.Expr) generator for item-level filtering
110
+ - **`ITEMS_FILTER_CLS `**, [cql2 expression](https://developmentseed.org/cql2-rs/latest/python/#cql2.Expr) generator for item-level filtering
111
111
- **Type:** JSON object with class configuration
112
112
- **Required:** No, defaults to `null` (disabled)
113
- - **Components**:
114
- - `cls`: Python import path
115
- - `args`: List of positional arguments
116
- - `kwargs`: Dictionary of keyword arguments
117
- - **Example:**
118
- ```json
119
- {
120
- "cls" : " my_package.filters:OrganizationFilter" ,
121
- "args" : [" org1" ],
122
- "kwargs" : {
123
- "field_name" : " properties.organization"
124
- }
125
- }
126
- ```
113
+ - **Example:** `my_package.filters:OrganizationFilter`
114
+ - **`ITEMS_FILTER_ARGS`**, [cql2 expression](https://developmentseed.org/cql2-rs/latest/python/#cql2.Expr) generator for item-level filtering
115
+ - **Type:** List of positional arguments used to initialize the class
116
+ - **Required:** No, defaults to `[]`
117
+ - **Example:**: `["org1"]`
118
+ - **`ITEMS_FILTER_KWARGS`**, [cql2 expression](https://developmentseed.org/cql2-rs/latest/python/#cql2.Expr) generator for item-level filtering
119
+ - **Type:** Dictionary of keyword arguments used to initialize the class
120
+ - **Required:** No, defaults to `{}`
121
+ - **Example:** `{ "field_name": "properties.organization" }`
127
122
128
123
### Customization
129
124
0 commit comments