Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions devel-common/src/docs/provider_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,10 @@
from airflow.providers.fab.auth_manager.api_fastapi.openapi import (
__file__ as fab_auth_manager_fastapi_api_file,
)
from airflow.providers.fab.auth_manager.openapi import __file__ as fab_auth_manager_flask_api_file
from airflow.providers.keycloak.auth_manager.openapi import (
__file__ as keycloak_auth_manager_fastapi_api_file,
)

fab_auth_manager_flask_api_path = Path(fab_auth_manager_flask_api_file).parent.joinpath(
"v1-flask-api.yaml"
)
fab_auth_manager_fastapi_api_path = Path(fab_auth_manager_fastapi_api_file).parent.joinpath(
"v2-fab-auth-manager-generated.yaml"
)
Expand All @@ -378,15 +374,7 @@
redoc = [
{
"name": "Fab auth manager API",
"page": "api-ref/fab-public-api-ref",
"spec": fab_auth_manager_flask_api_path.as_posix(),
"opts": {
"hide-hostname": True,
},
},
{
"name": "Fab auth manager token API",
"page": "api-ref/fab-token-api-ref",
"page": "api-ref/fab-api-ref",
"spec": fab_auth_manager_fastapi_api_path.as_posix(),
"opts": {
"hide-hostname": True,
Expand Down
1 change: 0 additions & 1 deletion providers/fab/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ repos:
files: ^src/airflow/providers/fab/www/
exclude: |
(?x)
^src/airflow/providers/fab/www/api_connexion/.*|
^src/airflow/providers/fab/www/extensions/.*|
^src/airflow/providers/fab/www/security/.*
entry: ../../scripts/ci/prek/compile_provider_assets.py fab
Expand Down
1 change: 0 additions & 1 deletion providers/fab/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ PIP package Version required
``msgpack`` ``>=1.0.0; python_version < "3.13"``
``flask-sqlalchemy`` ``>=3.0.5; python_version < "3.13"``
``flask-wtf`` ``>=1.1.0; python_version < "3.13"``
``connexion[flask]`` ``>=2.14.2,<3.0; python_version < "3.13"``
``jmespath`` ``>=0.7.0; python_version < "3.13"``
``werkzeug`` ``>=2.2,<4; python_version < "3.13"``
``wtforms`` ``>=3.0,<4; python_version < "3.13"``
Expand Down
23 changes: 0 additions & 23 deletions providers/fab/docs/api-ref/fab-public-api-ref.rst

This file was deleted.

2 changes: 1 addition & 1 deletion providers/fab/docs/auth-manager/api-authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FAB auth manager API authentication
===================================

.. note::
This guide only applies to :doc:`FAB auth manager API </api-ref/fab-public-api-ref>`.
This guide only applies to :doc:`FAB auth manager API </api-ref/fab-api-ref>`.

Authentication for the APIs is handled by what is called an authentication backend. The default is to check the user session:

Expand Down
2 changes: 1 addition & 1 deletion providers/fab/docs/auth-manager/token.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ authentication.
Once you have the token, include it in the ``Authorization`` header when making requests to the public API.

You can generate a JWT token using the ``Create Token`` API endpoint,
documented in :doc:`/api-ref/fab-token-api-ref`.
documented in :doc:`/api-ref/fab-api-ref`.

Example
'''''''
Expand Down
10 changes: 4 additions & 6 deletions providers/fab/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
:hidden:
:caption: References

Fab auth manager API <api-ref/fab-public-api-ref>
Fab auth manager token API <api-ref/fab-token-api-ref>
Fab auth manager API <api-ref/fab-api-ref>

.. toctree::
:hidden:
Expand Down Expand Up @@ -104,9 +103,9 @@ Requirements

The minimum Apache Airflow version supported by this provider distribution is ``3.0.2``.

========================================== ==========================================
========================================== =========================================
PIP package Version required
========================================== ==========================================
========================================== =========================================
``apache-airflow`` ``>=3.0.2``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``blinker`` ``>=1.6.2; python_version < "3.13"``
Expand All @@ -117,13 +116,12 @@ PIP package Version required
``msgpack`` ``>=1.0.0; python_version < "3.13"``
``flask-sqlalchemy`` ``>=3.0.5; python_version < "3.13"``
``flask-wtf`` ``>=1.1.0; python_version < "3.13"``
``connexion[flask]`` ``>=2.14.2,<3.0; python_version < "3.13"``
``jmespath`` ``>=0.7.0; python_version < "3.13"``
``werkzeug`` ``>=2.2,<4; python_version < "3.13"``
``wtforms`` ``>=3.0,<4; python_version < "3.13"``
``cachetools`` ``>=6.0; python_version < "3.13"``
``flask_limiter`` ``>3,!=3.13,<4``
========================================== ==========================================
========================================== =========================================

Cross provider package dependencies
-----------------------------------
Expand Down
1 change: 0 additions & 1 deletion providers/fab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ dependencies = [
"msgpack>=1.0.0; python_version < '3.13'",
"flask-sqlalchemy>=3.0.5; python_version < '3.13'",
"flask-wtf>=1.1.0; python_version < '3.13'",
"connexion[flask]>=2.14.2,<3.0; python_version < '3.13'",
"jmespath>=0.7.0; python_version < '3.13'",
"werkzeug>=2.2,<4; python_version < '3.13'",
"wtforms>=3.0,<4; python_version < '3.13'",
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading