Skip to content

setup_user

fastagency.studio.app.setup_user async #

setup_user(user_uuid: str) -> dict[str, Any]

Setup user after creating.

This function is called after the user is created. Currently it sets up weather toolbox for the user.

Source code in fastagency/studio/app.py
@app.get("/user/{user_uuid}/setup")
async def setup_user(user_uuid: str) -> dict[str, Any]:
    """Setup user after creating.

    This function is called after the user is created.
    Currently it sets up weather toolbox for the user.
    """
    return await create_toolbox_for_new_user(user_uuid)