async def get_all_listings(app: Annotated[Application, Depends(get_application)]):
    """
    Shows all published listings in the catalog
    """
    query = GetAllListings()
    result = await app.execute_async(query)
    return dict(data=result)

    Shows all published listings in the catalog
    
src/api/routers/catalog.py