INNER CODE UNIT · Python

info

cording12/next-fast-turbo · apps/api/src/main.py:12

async def info():
    return [{"Status": "API Running"}]


def custom_generate_unique_id(route: APIRoute):
    """Generates a custom ID when using the TypeScript Generator Client

    Args:
        route (APIRoute): The route to be customised

    Returns:
        str: tag-route_name, e.g. items-CreateItem
    """
    return f"{route.tags[0]}-{route.name}"


def get_application():
    _app = FastAPI(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…