apache-airflow-providers-hashicorp 4.3.3rc1__tar.gz → 4.4.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.
Files changed (37) hide show
  1. apache_airflow_providers_hashicorp-4.4.2/NOTICE +5 -0
  2. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/PKG-INFO +14 -12
  3. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/README.rst +5 -5
  4. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/changelog.rst +55 -1
  5. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/index.rst +5 -5
  6. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/provider.yaml +5 -1
  7. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/pyproject.toml +8 -7
  8. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/__init__.py +3 -3
  9. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/secrets/vault.py +3 -2
  10. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/hooks/test_vault.py +4 -4
  11. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/secrets/test_vault.py +1 -1
  12. {apache_airflow_providers_hashicorp-4.3.3rc1/src/airflow/providers/hashicorp → apache_airflow_providers_hashicorp-4.4.2}/LICENSE +0 -0
  13. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/.latest-doc-only-change.txt +0 -0
  14. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/commits.rst +0 -0
  15. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/conf.py +0 -0
  16. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/connections/vault.rst +0 -0
  17. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/installing-providers-from-sources.rst +0 -0
  18. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/integration-logos/Hashicorp-Vault.png +0 -0
  19. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/redirects.txt +0 -0
  20. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/secrets-backends/hashicorp-vault.rst +0 -0
  21. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/docs/security.rst +0 -0
  22. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/__init__.py +0 -0
  23. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/__init__.py +0 -0
  24. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/_internal_client/__init__.py +0 -0
  25. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/_internal_client/vault_client.py +0 -0
  26. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/get_provider_info.py +0 -0
  27. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/hooks/__init__.py +0 -0
  28. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/hooks/vault.py +0 -0
  29. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/secrets/__init__.py +0 -0
  30. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/version_compat.py +0 -0
  31. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/conftest.py +0 -0
  32. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/__init__.py +0 -0
  33. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/__init__.py +0 -0
  34. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/_internal_client/__init__.py +0 -0
  35. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/_internal_client/test_vault_client.py +0 -0
  36. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/hooks/__init__.py +0 -0
  37. {apache_airflow_providers_hashicorp-4.3.3rc1 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/secrets/__init__.py +0 -0
@@ -0,0 +1,5 @@
1
+ Apache Airflow
2
+ Copyright 2016-2026 The Apache Software Foundation
3
+
4
+ This product includes software developed at
5
+ The Apache Software Foundation (http://www.apache.org/).
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-hashicorp
3
- Version: 4.3.3rc1
3
+ Version: 4.4.2
4
4
  Summary: Provider package apache-airflow-providers-hashicorp for Apache Airflow
5
5
  Keywords: airflow-provider,hashicorp,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
7
7
  Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
8
8
  Requires-Python: >=3.10
9
9
  Description-Content-Type: text/x-rst
10
+ License-Expression: Apache-2.0
10
11
  Classifier: Development Status :: 5 - Production/Stable
11
12
  Classifier: Environment :: Console
12
13
  Classifier: Environment :: Web Environment
@@ -14,20 +15,21 @@ Classifier: Intended Audience :: Developers
14
15
  Classifier: Intended Audience :: System Administrators
15
16
  Classifier: Framework :: Apache Airflow
16
17
  Classifier: Framework :: Apache Airflow :: Provider
17
- Classifier: License :: OSI Approved :: Apache Software License
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: System :: Monitoring
23
- Requires-Dist: apache-airflow>=2.10.0rc1
24
- Requires-Dist: apache-airflow-providers-common-compat>=1.8.0rc1
23
+ License-File: LICENSE
24
+ License-File: NOTICE
25
+ Requires-Dist: apache-airflow>=2.11.0
26
+ Requires-Dist: apache-airflow-providers-common-compat>=1.8.0
25
27
  Requires-Dist: hvac>=1.1.0
26
- Requires-Dist: boto3>=1.33.0 ; extra == "boto3"
28
+ Requires-Dist: boto3>=1.37.2 ; extra == "boto3"
27
29
  Requires-Dist: apache-airflow-providers-google ; extra == "google"
28
30
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
29
- Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3/changelog.html
30
- Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3
31
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html
32
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2
31
33
  Project-URL: Mastodon, https://fosstodon.org/@airflow
32
34
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
33
35
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -60,7 +62,7 @@ Provides-Extra: google
60
62
 
61
63
  Package ``apache-airflow-providers-hashicorp``
62
64
 
63
- Release: ``4.3.3``
65
+ Release: ``4.4.2``
64
66
 
65
67
 
66
68
  Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
@@ -73,7 +75,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
73
75
  are in ``airflow.providers.hashicorp`` python package.
74
76
 
75
77
  You can find package information and changelog for the provider
76
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3/>`_.
78
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/>`_.
77
79
 
78
80
  Installation
79
81
  ------------
@@ -90,7 +92,7 @@ Requirements
90
92
  ========================================== ==================
91
93
  PIP package Version required
92
94
  ========================================== ==================
93
- ``apache-airflow`` ``>=2.10.0``
95
+ ``apache-airflow`` ``>=2.11.0``
94
96
  ``apache-airflow-providers-common-compat`` ``>=1.8.0``
95
97
  ``hvac`` ``>=1.1.0``
96
98
  ========================================== ==================
@@ -121,10 +123,10 @@ Optional dependencies
121
123
  ========== ===================================
122
124
  Extra Dependencies
123
125
  ========== ===================================
124
- ``boto3`` ``boto3>=1.33.0``
126
+ ``boto3`` ``boto3>=1.37.2``
125
127
  ``google`` ``apache-airflow-providers-google``
126
128
  ========== ===================================
127
129
 
128
130
  The changelog for the provider package can be found in the
129
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3/changelog.html>`_.
131
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html>`_.
130
132
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  Package ``apache-airflow-providers-hashicorp``
25
25
 
26
- Release: ``4.3.3``
26
+ Release: ``4.4.2``
27
27
 
28
28
 
29
29
  Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
@@ -36,7 +36,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
36
36
  are in ``airflow.providers.hashicorp`` python package.
37
37
 
38
38
  You can find package information and changelog for the provider
39
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3/>`_.
39
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/>`_.
40
40
 
41
41
  Installation
42
42
  ------------
@@ -53,7 +53,7 @@ Requirements
53
53
  ========================================== ==================
54
54
  PIP package Version required
55
55
  ========================================== ==================
56
- ``apache-airflow`` ``>=2.10.0``
56
+ ``apache-airflow`` ``>=2.11.0``
57
57
  ``apache-airflow-providers-common-compat`` ``>=1.8.0``
58
58
  ``hvac`` ``>=1.1.0``
59
59
  ========================================== ==================
@@ -84,9 +84,9 @@ Optional dependencies
84
84
  ========== ===================================
85
85
  Extra Dependencies
86
86
  ========== ===================================
87
- ``boto3`` ``boto3>=1.33.0``
87
+ ``boto3`` ``boto3>=1.37.2``
88
88
  ``google`` ``apache-airflow-providers-google``
89
89
  ========== ===================================
90
90
 
91
91
  The changelog for the provider package can be found in the
92
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3/changelog.html>`_.
92
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html>`_.
@@ -27,6 +27,59 @@
27
27
  Changelog
28
28
  ---------
29
29
 
30
+ 4.4.2
31
+ .....
32
+
33
+ Misc
34
+ ~~~~
35
+
36
+ * ``New year means updated Copyright notices (#60344)``
37
+ * ``Check team boundaries in connections (#59476)``
38
+
39
+ .. Below changes are excluded from the changelog. Move them to
40
+ appropriate section above if needed. Do not delete the lines(!):
41
+
42
+ 4.4.1
43
+ .....
44
+
45
+ Misc
46
+ ~~~~
47
+
48
+ * ``Check team boundaries in variables (#58905)``
49
+
50
+ .. Below changes are excluded from the changelog. Move them to
51
+ appropriate section above if needed. Do not delete the lines(!):
52
+
53
+ 4.4.0
54
+ .....
55
+
56
+ .. note::
57
+ This release of provider is only available for Airflow 2.11+ as explained in the
58
+ Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>_.
59
+
60
+ Misc
61
+ ~~~~
62
+
63
+ * ``Bump minimum Airflow version in providers to Airflow 2.11.0 (#58612)``
64
+
65
+ .. Below changes are excluded from the changelog. Move them to
66
+ appropriate section above if needed. Do not delete the lines(!):
67
+ * ``Updates to release process of providers (#58316)``
68
+
69
+ 4.3.4
70
+ .....
71
+
72
+ Misc
73
+ ~~~~
74
+
75
+ * ``Convert all airflow distributions to be compliant with ASF requirements (#58138)``
76
+ * ``Synchronize boto3 and sqlalchemy dependency lower-binds (#57385)``
77
+
78
+ .. Below changes are excluded from the changelog. Move them to
79
+ appropriate section above if needed. Do not delete the lines(!):
80
+ * ``Delete all unnecessary LICENSE Files (#58191)``
81
+ * ``Enable PT006 rule to hashicorp Provider test (#57916)``
82
+
30
83
  4.3.3
31
84
  .....
32
85
 
@@ -437,7 +490,8 @@ Bug Fixes
437
490
 
438
491
  * ``Fix empty paths in Vault secrets backend (#29908)``
439
492
 
440
- .. Review and move the new changes to one of the sections above:
493
+ .. Below changes are excluded from the changelog. Move them to
494
+ appropriate section above if needed. Do not delete the lines(!):
441
495
  * ``Prepare docs for 03/2023 wave of Providers (#29878)``
442
496
 
443
497
  3.2.0
@@ -69,7 +69,7 @@ apache-airflow-providers-hashicorp package
69
69
  Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
70
70
 
71
71
 
72
- Release: 4.3.3
72
+ Release: 4.4.2
73
73
 
74
74
  Provider package
75
75
  ----------------
@@ -87,12 +87,12 @@ For the minimum Airflow version supported, see ``Requirements`` below.
87
87
  Requirements
88
88
  ------------
89
89
 
90
- The minimum Apache Airflow version supported by this provider distribution is ``2.10.0``.
90
+ The minimum Apache Airflow version supported by this provider distribution is ``2.11.0``.
91
91
 
92
92
  ========================================== ==================
93
93
  PIP package Version required
94
94
  ========================================== ==================
95
- ``apache-airflow`` ``>=2.10.0``
95
+ ``apache-airflow`` ``>=2.11.0``
96
96
  ``apache-airflow-providers-common-compat`` ``>=1.8.0``
97
97
  ``hvac`` ``>=1.1.0``
98
98
  ========================================== ==================
@@ -123,5 +123,5 @@ Downloading official packages
123
123
  You can download officially released packages and verify their checksums and signatures from the
124
124
  `Official Apache Download site <https://downloads.apache.org/airflow/providers/>`_
125
125
 
126
- * `The apache-airflow-providers-hashicorp 4.3.3 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.3.3.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.3.3.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.3.3.tar.gz.sha512>`__)
127
- * `The apache-airflow-providers-hashicorp 4.3.3 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.3.3-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.3.3-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.3.3-py3-none-any.whl.sha512>`__)
126
+ * `The apache-airflow-providers-hashicorp 4.4.2 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2.tar.gz.sha512>`__)
127
+ * `The apache-airflow-providers-hashicorp 4.4.2 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2-py3-none-any.whl.sha512>`__)
@@ -22,12 +22,16 @@ description: |
22
22
  Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
23
23
 
24
24
  state: ready
25
- source-date-epoch: 1761116950
25
+ source-date-epoch: 1768335148
26
26
  # Note that those versions are maintained by release manager - do not update them manually
27
27
  # with the exception of case where other provider in sources has >= new provider version.
28
28
  # In such case adding >= NEW_VERSION and bumping to NEW_VERSION in a provider have
29
29
  # to be done in the same PR
30
30
  versions:
31
+ - 4.4.2
32
+ - 4.4.1
33
+ - 4.4.0
34
+ - 4.3.4
31
35
  - 4.3.3
32
36
  - 4.3.2
33
37
  - 4.3.1
@@ -25,9 +25,11 @@ build-backend = "flit_core.buildapi"
25
25
 
26
26
  [project]
27
27
  name = "apache-airflow-providers-hashicorp"
28
- version = "4.3.3rc1"
28
+ version = "4.4.2"
29
29
  description = "Provider package apache-airflow-providers-hashicorp for Apache Airflow"
30
30
  readme = "README.rst"
31
+ license = "Apache-2.0"
32
+ license-files = ['LICENSE', 'NOTICE']
31
33
  authors = [
32
34
  {name="Apache Software Foundation", email="dev@airflow.apache.org"},
33
35
  ]
@@ -43,7 +45,6 @@ classifiers = [
43
45
  "Intended Audience :: System Administrators",
44
46
  "Framework :: Apache Airflow",
45
47
  "Framework :: Apache Airflow :: Provider",
46
- "License :: OSI Approved :: Apache Software License",
47
48
  "Programming Language :: Python :: 3.10",
48
49
  "Programming Language :: Python :: 3.11",
49
50
  "Programming Language :: Python :: 3.12",
@@ -57,8 +58,8 @@ requires-python = ">=3.10"
57
58
  # Make sure to run ``prek update-providers-dependencies --all-files``
58
59
  # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
59
60
  dependencies = [
60
- "apache-airflow>=2.10.0rc1",
61
- "apache-airflow-providers-common-compat>=1.8.0rc1",
61
+ "apache-airflow>=2.11.0",
62
+ "apache-airflow-providers-common-compat>=1.8.0",
62
63
  "hvac>=1.1.0",
63
64
  ]
64
65
 
@@ -67,7 +68,7 @@ dependencies = [
67
68
  [project.optional-dependencies]
68
69
  "boto3" = [
69
70
  # Require for AWS assume role authentication
70
- "boto3>=1.33.0",
71
+ "boto3>=1.37.2",
71
72
  ]
72
73
  "google" = [
73
74
  "apache-airflow-providers-google"
@@ -109,8 +110,8 @@ apache-airflow-providers-common-sql = {workspace = true}
109
110
  apache-airflow-providers-standard = {workspace = true}
110
111
 
111
112
  [project.urls]
112
- "Documentation" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3"
113
- "Changelog" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-hashicorp/4.3.3/changelog.html"
113
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2"
114
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html"
114
115
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
115
116
  "Source Code" = "https://github.com/apache/airflow"
116
117
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "4.3.3"
32
+ __version__ = "4.4.2"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
- "2.10.0"
35
+ "2.11.0"
36
36
  ):
37
37
  raise RuntimeError(
38
- f"The package `apache-airflow-providers-hashicorp:{__version__}` needs Apache Airflow 2.10.0+"
38
+ f"The package `apache-airflow-providers-hashicorp:{__version__}` needs Apache Airflow 2.11.0+"
39
39
  )
@@ -186,7 +186,7 @@ class VaultBackend(BaseSecretsBackend, LoggingMixin):
186
186
  if TYPE_CHECKING:
187
187
  from airflow.models.connection import Connection
188
188
 
189
- def get_connection(self, conn_id: str) -> Connection | None:
189
+ def get_connection(self, conn_id: str, team_name: str | None = None) -> Connection | None:
190
190
  """
191
191
  Get connection from Vault as secret.
192
192
 
@@ -208,11 +208,12 @@ class VaultBackend(BaseSecretsBackend, LoggingMixin):
208
208
 
209
209
  return Connection(conn_id, **response)
210
210
 
211
- def get_variable(self, key: str) -> str | None:
211
+ def get_variable(self, key: str, team_name: str | None = None) -> str | None:
212
212
  """
213
213
  Get Airflow Variable.
214
214
 
215
215
  :param key: Variable Key
216
+ :param team_name: Team name associated to the task trying to access the variable (if any)
216
217
  :return: Variable Value retrieved from the vault
217
218
  """
218
219
  mount_point, variable_key = self._parse_path(key)
@@ -62,7 +62,7 @@ class TestVaultHook:
62
62
  VaultHook(**kwargs)
63
63
 
64
64
  @pytest.mark.parametrize(
65
- "version, expected_version",
65
+ ("version", "expected_version"),
66
66
  [
67
67
  ("2", 2),
68
68
  (1, 1),
@@ -161,7 +161,7 @@ class TestVaultHook:
161
161
  assert test_hook.vault_client.kv_engine_version == 1
162
162
 
163
163
  @pytest.mark.parametrize(
164
- "protocol, expected_url",
164
+ ("protocol", "expected_url"),
165
165
  [
166
166
  ("vaults", "https://localhost:8180"),
167
167
  ("http", "http://localhost:8180"),
@@ -195,7 +195,7 @@ class TestVaultHook:
195
195
  assert test_hook.vault_client.kv_engine_version == 2
196
196
 
197
197
  @pytest.mark.parametrize(
198
- "use_tls, expected_url",
198
+ ("use_tls", "expected_url"),
199
199
  [
200
200
  (True, "https://localhost:8180"),
201
201
  (False, "http://localhost:8180"),
@@ -1282,7 +1282,7 @@ class TestVaultHook:
1282
1282
  )
1283
1283
 
1284
1284
  @pytest.mark.parametrize(
1285
- "method, expected_method",
1285
+ ("method", "expected_method"),
1286
1286
  [
1287
1287
  (None, None),
1288
1288
  ("post", "post"),
@@ -182,7 +182,7 @@ class TestVaultSecrets:
182
182
  assert returned_uri == "world"
183
183
 
184
184
  @pytest.mark.parametrize(
185
- "mount_point, variables_path, variable_key, expected_args",
185
+ ("mount_point", "variables_path", "variable_key", "expected_args"),
186
186
  [
187
187
  ("airflow", "variables", "hello", {"mount_point": "airflow", "path": "variables/hello"}),
188
188
  (