We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38db22 commit c8ad416Copy full SHA for c8ad416
resource_catalogue_fastapi/__init__.py
@@ -333,7 +333,8 @@ async def order_item(
333
return JSONResponse(content={"message": "Item ordered successfully"}, status_code=200)
334
335
336
-def fetch_airbus_asset(collection, item, asset_name):
+def fetch_airbus_asset(collection: str, item: str, asset_name: str) -> Response:
337
+ """Fetch an asset via an external link in an Airbus item, using a generated access token"""
338
item_url = f"https://{EODH_DOMAIN}/api/catalogue/stac/catalogs/supported-datasets/airbus/collections/{collection}/items/{item}"
339
logger.info(f"Fetching item data from {item_url}")
340
item_response = requests.get(item_url)
0 commit comments