filters
Utility functions.
append_body_filter(body: dict, filter: Expr, filter_lang: Optional[str] = None) -> dict
¶
Insert a filter expression into a request body. If a filter already exists, combine them.
Source code in src/stac_auth_proxy/utils/filters.py
22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
append_qs_filter(qs: str, filter: Expr, filter_lang: Optional[str] = None) -> bytes
¶
Insert a filter expression into a query string. If a filter already exists, combine them.
Source code in src/stac_auth_proxy/utils/filters.py
13 14 15 16 17 18 19 |
|
dict_to_query_string(params: dict) -> str
¶
Convert a dictionary to a query string. Dict values are converted to JSON strings, unlike the default behavior of urllib.parse.urlencode.
Source code in src/stac_auth_proxy/utils/filters.py
37 38 39 40 41 42 43 44 45 46 47 |
|