apache-airflow-providers-fab 1.2.1__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/PKG-INFO +6 -6
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/README.rst +3 -3
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/__init__.py +1 -1
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/cli_commands/utils.py +4 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/security_manager/override.py +4 -4
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/get_provider_info.py +13 -2
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/pyproject.toml +3 -3
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/LICENSE +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api/auth/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api/auth/backend/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api/auth/backend/basic_auth.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api/auth/backend/kerberos_auth.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api_endpoints/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api_endpoints/role_and_permission_endpoint.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/api_endpoints/user_endpoint.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/cli_commands/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/cli_commands/definition.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/cli_commands/role_command.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/cli_commands/sync_perm_command.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/cli_commands/user_command.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/decorators/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/decorators/auth.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/fab_auth_manager.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/models/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/models/anonymous_user.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/openapi/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/openapi/v1.yaml +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/security_manager/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/security_manager/constants.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/views/__init__.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/views/permissions.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/views/roles_list.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/views/user.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/views/user_edit.py +0 -0
- {apache_airflow_providers_fab-1.2.1 → apache_airflow_providers_fab-1.2.2}/airflow/providers/fab/auth_manager/views/user_stats.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: apache-airflow-providers-fab
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.2
|
4
4
|
Summary: Provider package apache-airflow-providers-fab for Apache Airflow
|
5
5
|
Keywords: airflow-provider,fab,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -28,8 +28,8 @@ Requires-Dist: flask>=2.2,<2.3
|
|
28
28
|
Requires-Dist: google-re2>=1.0
|
29
29
|
Requires-Dist: jmespath>=0.7.0
|
30
30
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
31
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
32
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
31
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2/changelog.html
|
32
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2
|
33
33
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
34
34
|
Project-URL: Source Code, https://github.com/apache/airflow
|
35
35
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
@@ -79,7 +79,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
79
79
|
|
80
80
|
Package ``apache-airflow-providers-fab``
|
81
81
|
|
82
|
-
Release: ``1.2.
|
82
|
+
Release: ``1.2.2``
|
83
83
|
|
84
84
|
|
85
85
|
`Flask App Builder <https://flask-appbuilder.readthedocs.io/>`__
|
@@ -92,7 +92,7 @@ This is a provider package for ``fab`` provider. All classes for this provider p
|
|
92
92
|
are in ``airflow.providers.fab`` python package.
|
93
93
|
|
94
94
|
You can find package information and changelog for the provider
|
95
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
95
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2/>`_.
|
96
96
|
|
97
97
|
Installation
|
98
98
|
------------
|
@@ -118,4 +118,4 @@ PIP package Version required
|
|
118
118
|
==================== ==================
|
119
119
|
|
120
120
|
The changelog for the provider package can be found in the
|
121
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
121
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2/changelog.html>`_.
|
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
Package ``apache-airflow-providers-fab``
|
44
44
|
|
45
|
-
Release: ``1.2.
|
45
|
+
Release: ``1.2.2``
|
46
46
|
|
47
47
|
|
48
48
|
`Flask App Builder <https://flask-appbuilder.readthedocs.io/>`__
|
@@ -55,7 +55,7 @@ This is a provider package for ``fab`` provider. All classes for this provider p
|
|
55
55
|
are in ``airflow.providers.fab`` python package.
|
56
56
|
|
57
57
|
You can find package information and changelog for the provider
|
58
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
58
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2/>`_.
|
59
59
|
|
60
60
|
Installation
|
61
61
|
------------
|
@@ -81,4 +81,4 @@ PIP package Version required
|
|
81
81
|
==================== ==================
|
82
82
|
|
83
83
|
The changelog for the provider package can be found in the
|
84
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
84
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2/changelog.html>`_.
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
29
29
|
|
30
30
|
__all__ = ["__version__"]
|
31
31
|
|
32
|
-
__version__ = "1.2.
|
32
|
+
__version__ = "1.2.2"
|
33
33
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
35
35
|
"2.9.0"
|
@@ -25,6 +25,7 @@ from typing import TYPE_CHECKING, Generator
|
|
25
25
|
from flask import Flask
|
26
26
|
|
27
27
|
import airflow
|
28
|
+
from airflow.configuration import conf
|
28
29
|
from airflow.www.extensions.init_appbuilder import init_appbuilder
|
29
30
|
from airflow.www.extensions.init_views import init_plugins
|
30
31
|
|
@@ -44,5 +45,8 @@ def _return_appbuilder(app: Flask) -> AirflowAppBuilder:
|
|
44
45
|
def get_application_builder() -> Generator[AirflowAppBuilder, None, None]:
|
45
46
|
static_folder = os.path.join(os.path.dirname(airflow.__file__), "www", "static")
|
46
47
|
flask_app = Flask(__name__, static_folder=static_folder)
|
48
|
+
webserver_config = conf.get_mandatory_value("webserver", "config_file")
|
47
49
|
with flask_app.app_context():
|
50
|
+
# Enable customizations in webserver_config.py to be applied via Flask.current_app.
|
51
|
+
flask_app.config.from_pyfile(webserver_config, silent=True)
|
48
52
|
yield _return_appbuilder(flask_app)
|
@@ -132,8 +132,8 @@ MAX_NUM_DATABASE_USER_SESSIONS = 50000
|
|
132
132
|
# allows utilizing the GET method for them.
|
133
133
|
# You could remove the patch and configure it when it is supported
|
134
134
|
# natively by Flask-AppBuilder (https://github.com/dpgaspar/Flask-AppBuilder/issues/2248)
|
135
|
-
if packaging.version.parse(packaging.version.parse(airflow_version).base_version)
|
136
|
-
"2.
|
135
|
+
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
136
|
+
"2.10.0"
|
137
137
|
):
|
138
138
|
_methods = ["GET", "POST"]
|
139
139
|
else:
|
@@ -949,8 +949,8 @@ class FabAirflowSecurityManagerOverride(AirflowSecurityManagerV2):
|
|
949
949
|
self.add_role(self.auth_role_public)
|
950
950
|
if self.count_users() == 0 and self.auth_role_public != self.auth_role_admin:
|
951
951
|
log.warning(const.LOGMSG_WAR_SEC_NO_USER)
|
952
|
-
except Exception
|
953
|
-
log.
|
952
|
+
except Exception:
|
953
|
+
log.exception(const.LOGMSG_ERR_SEC_CREATE_DB)
|
954
954
|
exit(1)
|
955
955
|
|
956
956
|
def get_readable_dags(self, user) -> Iterable[DagModel]:
|
@@ -28,8 +28,19 @@ def get_provider_info():
|
|
28
28
|
"name": "Fab",
|
29
29
|
"description": "`Flask App Builder <https://flask-appbuilder.readthedocs.io/>`__\n",
|
30
30
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
32
|
-
"versions": [
|
31
|
+
"source-date-epoch": 1722149665,
|
32
|
+
"versions": [
|
33
|
+
"1.2.2",
|
34
|
+
"1.2.1",
|
35
|
+
"1.2.0",
|
36
|
+
"1.1.1",
|
37
|
+
"1.1.0",
|
38
|
+
"1.0.4",
|
39
|
+
"1.0.3",
|
40
|
+
"1.0.2",
|
41
|
+
"1.0.1",
|
42
|
+
"1.0.0",
|
43
|
+
],
|
33
44
|
"dependencies": [
|
34
45
|
"apache-airflow>=2.9.0",
|
35
46
|
"flask>=2.2,<2.3",
|
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
|
|
28
28
|
|
29
29
|
[project]
|
30
30
|
name = "apache-airflow-providers-fab"
|
31
|
-
version = "1.2.
|
31
|
+
version = "1.2.2"
|
32
32
|
description = "Provider package apache-airflow-providers-fab for Apache Airflow"
|
33
33
|
readme = "README.rst"
|
34
34
|
authors = [
|
@@ -65,8 +65,8 @@ dependencies = [
|
|
65
65
|
]
|
66
66
|
|
67
67
|
[project.urls]
|
68
|
-
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
69
|
-
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.
|
68
|
+
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2"
|
69
|
+
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-fab/1.2.2/changelog.html"
|
70
70
|
"Bug Tracker" = "https://github.com/apache/airflow/issues"
|
71
71
|
"Source Code" = "https://github.com/apache/airflow"
|
72
72
|
"Slack Chat" = "https://s.apache.org/airflow-slack"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|