Skip to content

Commit bf69d8b

Browse files
committed
lint
1 parent 59362dd commit bf69d8b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tiler/app.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,15 @@
6969
"http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/json",
7070
}
7171

72+
7273
###############################################################################
7374
# TiTiler endpoints
7475
def 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(
9492
tiler = 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
)

0 commit comments

Comments
 (0)