airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles

Classes

ActionResponse

Outgoing representation of an action (permission name).

ResourceResponse

Outgoing representation of a resource.

ActionResourceResponse

Pairing of an action with a resource.

RoleBody

Incoming payload for creating/updating a role.

RoleResponse

Outgoing representation of a role and its permissions.

RoleCollectionResponse

Outgoing representation of a paginated collection of roles.

Module Contents

class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.ActionResponse(/, **data)[source]

Bases: airflow.api_fastapi.core_api.base.BaseModel

Outgoing representation of an action (permission name).

name: str[source]
class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.ResourceResponse(/, **data)[source]

Bases: airflow.api_fastapi.core_api.base.BaseModel

Outgoing representation of a resource.

name: str[source]
class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.ActionResourceResponse(/, **data)[source]

Bases: airflow.api_fastapi.core_api.base.BaseModel

Pairing of an action with a resource.

action: ActionResponse[source]
resource: ResourceResponse[source]
class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.RoleBody(/, **data)[source]

Bases: airflow.api_fastapi.core_api.base.StrictBaseModel

Incoming payload for creating/updating a role.

name: str = None[source]
permissions: list[ActionResourceResponse] = None[source]
class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.RoleResponse(/, **data)[source]

Bases: airflow.api_fastapi.core_api.base.BaseModel

Outgoing representation of a role and its permissions.

name: str[source]
permissions: list[ActionResourceResponse] = None[source]
class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.RoleCollectionResponse(/, **data)[source]

Bases: airflow.api_fastapi.core_api.base.BaseModel

Outgoing representation of a paginated collection of roles.

roles: list[RoleResponse][source]
total_entries: int[source]

Was this entry helpful?