Skip to content

Commit 9b2c7f2

Browse files
committed
removed Optional from url_str
1 parent 45b4b96 commit 9b2c7f2

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/filter

1 file changed

+1
-1
lines changed

stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/filter/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async def get_queryables(
3939
Dict[str, Any]: A dictionary containing the queryables for the given collection.
4040
"""
4141
request: Optional[Request] = kwargs.get("request")
42-
url_str: Optional[str] = str(request.url) if request else ""
42+
url_str: str = str(request.url) if request else ""
4343
queryables: Dict[str, Any] = {
4444
"$schema": "https://json-schema.org/draft-07/schema",
4545
"$id": f"{url_str}",

0 commit comments

Comments
 (0)