File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 6969 "http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/json" ,
7070}
7171
72+
7273###############################################################################
7374# TiTiler endpoints
7475def DatasetPathParams (
7576 dataset_id : Annotated [
7677 Literal ["coral" , "other" ],
7778 Path (description = "Dataset" ),
7879 ],
79- year : Annotated [
80- int ,
81- Path (description = "Year" )
82- ]
80+ year : Annotated [int , Path (description = "Year" )],
8381) -> str :
8482 """Custom Dataset Path Parameter which define dataset_id and year PATH parameter and return a VRT url."""
8583 name : str
@@ -94,7 +92,7 @@ def DatasetPathParams(
9492tiler = TilerFactory (
9593 reader = Reader ,
9694 path_dependency = DatasetPathParams ,
97- add_ogc_maps = True ,
95+ add_ogc_maps = True ,
9896 templates = titiler_templates ,
9997 router_prefix = "/dataset/{dataset_id}/years/{year}" ,
10098)
You can’t perform that action at this time.
0 commit comments