sort
stac_fastapi.extensions.sort.sort ¶
Sort extension.
SortConformanceClasses ¶
Bases: StrEnum
Conformance classes for the Sort extension.
Source code in stac_fastapi/extensions/stac_fastapi/extensions/sort/sort.py
15 16 17 18 19 20 21 22 23 24 | |
SortExtension ¶
Bases: ApiExtension
Sort Extension.
The Sort extension adds the sortby parameter to the /search endpoint, allowing the
caller to specify the sort order of the returned items.
stac-api-extensions/sort
Source code in stac_fastapi/extensions/stac_fastapi/extensions/sort/sort.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | |
register ¶
register(app: FastAPI) -> None
Register the extension with a FastAPI application.
Parameters:
-
app(FastAPI) –target FastAPI application.
Returns:
-
None–None
Source code in stac_fastapi/extensions/stac_fastapi/extensions/sort/sort.py
46 47 48 49 50 51 52 53 54 55 | |