Skip to content
Snippets Groups Projects
Commit a691a9ea authored by Christian Boettcher's avatar Christian Boettcher
Browse files

change typing

parent b482bdb2
Branches
Tags
No related merge requests found
Pipeline #112585 canceled
...@@ -150,7 +150,7 @@ async def get_types(request: Request = None): ...@@ -150,7 +150,7 @@ async def get_types(request: Request = None):
@app.get("/{location_data_type}", response_model=List[List[str]]) @app.get("/{location_data_type}", response_model=List[List[str]])
async def list_datasets(location_data_type: LocationDataType, name: str | None = None, url: str | None = None, has_key: List[str] | None = Query(default=None)): async def list_datasets(location_data_type: LocationDataType, name: str = None, url: str = None, has_key: List[str] = Query(default=None)):
""" """
list id and name of all matching registered datasets for the specified type\n list id and name of all matching registered datasets for the specified type\n
name: has to be contained in the name of the object\n name: has to be contained in the name of the object\n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment