Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stat_fastapi_blacksky/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ class StatBlackskyBackend:
def __init__(self):
settings = Settings.load()

def products(self, request: Request) -> list[Product]:
async def get_products(self, request: Request) -> list[Product]:
"""
Return a list of supported products.
"""
return PRODUCTS

def product(self, product_id: str, request: Request) -> Product | None:
async def get_product(self, product_id: str, request: Request) -> Product | None:
"""
Return the product identified by `product_id` or `None` if it isn't
supported.
Expand Down