airflow.providers.fab.auth_manager.api_fastapi.routes.users

Attributes

users_router

Functions

create_user(body)

get_users([order_by, limit, offset])

List users with pagination and ordering.

get_user([username])

Get a user by username.

update_user(body[, username, update_mask])

Update an existing user.

delete_user([username])

Delete a user by username.

Module Contents

airflow.providers.fab.auth_manager.api_fastapi.routes.users.users_router[source]
airflow.providers.fab.auth_manager.api_fastapi.routes.users.create_user(body)[source]
airflow.providers.fab.auth_manager.api_fastapi.routes.users.get_users(order_by=Query('id', description="Field to order by. Prefix with '-' for descending."), limit=Depends(get_effective_limit()), offset=Query(0, ge=0, description='Number of items to skip before starting to collect results.'))[source]

List users with pagination and ordering.

airflow.providers.fab.auth_manager.api_fastapi.routes.users.get_user(username=Path(..., min_length=1))[source]

Get a user by username.

airflow.providers.fab.auth_manager.api_fastapi.routes.users.update_user(body, username=Path(..., min_length=1), update_mask=Query(None, description='Comma-separated list of fields to update'))[source]

Update an existing user.

airflow.providers.fab.auth_manager.api_fastapi.routes.users.delete_user(username=Path(..., min_length=1))[source]

Delete a user by username.

Was this entry helpful?