apache-airflow-providers-hashicorp 3.6.3__py3-none-any.whl → 3.6.4__py3-none-any.whl

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.

Potentially problematic release.


This version of apache-airflow-providers-hashicorp might be problematic. Click here for more details.

@@ -27,7 +27,7 @@ import packaging.version
27
27
 
28
28
  __all__ = ["__version__"]
29
29
 
30
- __version__ = "3.6.3"
30
+ __version__ = "3.6.4"
31
31
 
32
32
  try:
33
33
  from airflow import __version__ as airflow_version
@@ -388,7 +388,7 @@ class _VaultClient(LoggingMixin):
388
388
 
389
389
  def get_secret_metadata(self, secret_path: str) -> dict | None:
390
390
  """
391
- Reads secret metadata (including versions) from the engine. It is only valid for KV version 2.
391
+ Read secret metadata (including versions) from the engine. It is only valid for KV version 2.
392
392
 
393
393
  :param secret_path: The path of the secret.
394
394
  :return: secret metadata. This is a Dict containing metadata for the secret.
@@ -410,7 +410,7 @@ class _VaultClient(LoggingMixin):
410
410
  self, secret_path: str, secret_version: int | None = None
411
411
  ) -> dict | None:
412
412
  """
413
- Reads secret including metadata. It is only valid for KV version 2.
413
+ Read secret including metadata. It is only valid for KV version 2.
414
414
 
415
415
  See https://hvac.readthedocs.io/en/stable/usage/secrets_engines/kv_v2.html for details.
416
416
 
@@ -444,7 +444,7 @@ class _VaultClient(LoggingMixin):
444
444
  self, secret_path: str, secret: dict, method: str | None = None, cas: int | None = None
445
445
  ) -> Response:
446
446
  """
447
- Creates or updates secret.
447
+ Create or updates secret.
448
448
 
449
449
  :param secret_path: The path of the secret.
450
450
  :param secret: Secret to create or update for the path specified
@@ -468,10 +468,10 @@ class _VaultClient(LoggingMixin):
468
468
  mount_point, secret_path = self._parse_secret_path(secret_path)
469
469
  if self.kv_engine_version == 1:
470
470
  response = self.client.secrets.kv.v1.create_or_update_secret(
471
- secret_path=secret_path, secret=secret, mount_point=mount_point, method=method
471
+ path=secret_path, secret=secret, mount_point=mount_point, method=method
472
472
  )
473
473
  else:
474
474
  response = self.client.secrets.kv.v2.create_or_update_secret(
475
- secret_path=secret_path, secret=secret, mount_point=mount_point, cas=cas
475
+ path=secret_path, secret=secret, mount_point=mount_point, cas=cas
476
476
  )
477
477
  return response
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "Hashicorp",
29
29
  "description": "Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__\n",
30
30
  "state": "ready",
31
- "source-date-epoch": 1707636398,
31
+ "source-date-epoch": 1709555759,
32
32
  "versions": [
33
+ "3.6.4",
33
34
  "3.6.3",
34
35
  "3.6.2",
35
36
  "3.6.1",
@@ -290,7 +290,7 @@ class VaultHook(BaseHook):
290
290
 
291
291
  def get_conn(self) -> hvac.Client:
292
292
  """
293
- Retrieves connection to Vault.
293
+ Retrieve connection to Vault.
294
294
 
295
295
  :return: connection used.
296
296
  """
@@ -313,7 +313,7 @@ class VaultHook(BaseHook):
313
313
 
314
314
  def get_secret_metadata(self, secret_path: str) -> dict | None:
315
315
  """
316
- Reads secret metadata (including versions) from the engine. It is only valid for KV version 2.
316
+ Read secret metadata (including versions) from the engine. It is only valid for KV version 2.
317
317
 
318
318
  :param secret_path: Path to read from
319
319
  :return: secret metadata. This is a Dict containing metadata for the secret.
@@ -327,7 +327,7 @@ class VaultHook(BaseHook):
327
327
  self, secret_path: str, secret_version: int | None = None
328
328
  ) -> dict | None:
329
329
  """
330
- Reads secret including metadata. It is only valid for KV version 2.
330
+ Read secret including metadata. It is only valid for KV version 2.
331
331
 
332
332
  See https://hvac.readthedocs.io/en/stable/usage/secrets_engines/kv_v2.html for details.
333
333
 
@@ -345,7 +345,7 @@ class VaultHook(BaseHook):
345
345
  self, secret_path: str, secret: dict, method: str | None = None, cas: int | None = None
346
346
  ) -> Response:
347
347
  """
348
- Creates or updates secret.
348
+ Create or updates secret.
349
349
 
350
350
  :param secret_path: Path to read from
351
351
  :param secret: Secret to create or update for the path specified
@@ -368,7 +368,7 @@ class VaultHook(BaseHook):
368
368
 
369
369
  @classmethod
370
370
  def get_connection_form_widgets(cls) -> dict[str, Any]:
371
- """Returns connection widgets to add to connection form."""
371
+ """Return connection widgets to add to connection form."""
372
372
  from flask_appbuilder.fieldwidgets import BS3TextFieldWidget
373
373
  from flask_babel import lazy_gettext
374
374
  from wtforms import BooleanField, IntegerField, StringField
@@ -405,7 +405,7 @@ class VaultHook(BaseHook):
405
405
 
406
406
  @classmethod
407
407
  def get_ui_field_behaviour(cls) -> dict[str, Any]:
408
- """Returns custom field behaviour."""
408
+ """Return custom field behaviour."""
409
409
  return {
410
410
  "hidden_fields": ["extra"],
411
411
  "relabeling": {},
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-hashicorp
3
- Version: 3.6.3
3
+ Version: 3.6.4
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>
@@ -24,8 +24,8 @@ Requires-Dist: apache-airflow>=2.6.0
24
24
  Requires-Dist: hvac>=1.1.0
25
25
  Requires-Dist: apache-airflow-providers-google ; extra == "google"
26
26
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
27
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.3/changelog.html
28
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.3
27
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/changelog.html
28
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4
29
29
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
30
30
  Project-URL: Source Code, https://github.com/apache/airflow
31
31
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -76,7 +76,7 @@ Provides-Extra: google
76
76
 
77
77
  Package ``apache-airflow-providers-hashicorp``
78
78
 
79
- Release: ``3.6.3``
79
+ Release: ``3.6.4``
80
80
 
81
81
 
82
82
  Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
@@ -89,7 +89,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
89
89
  are in ``airflow.providers.hashicorp`` python package.
90
90
 
91
91
  You can find package information and changelog for the provider
92
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.3/>`_.
92
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/>`_.
93
93
 
94
94
  Installation
95
95
  ------------
@@ -130,4 +130,4 @@ Dependent package
130
130
  ==================================================================================================== ==========
131
131
 
132
132
  The changelog for the provider package can be found in the
133
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.3/changelog.html>`_.
133
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/changelog.html>`_.
@@ -1,13 +1,13 @@
1
1
  airflow/providers/hashicorp/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
2
- airflow/providers/hashicorp/__init__.py,sha256=2BqjSfhG0n-LE83_c6g30sjH8vIcbTdCnq06ZC7dXOU,1584
3
- airflow/providers/hashicorp/get_provider_info.py,sha256=b8sZVOMK6mM7oqZOtkcV0pshb-ZJS2L9qOpwo-jD-t4,2760
2
+ airflow/providers/hashicorp/__init__.py,sha256=e17chsniXN7cjIbFlGyK04MY8AGqq6pLXHteXuiapL8,1584
3
+ airflow/providers/hashicorp/get_provider_info.py,sha256=K5T_ECTUlem7K8yG6EDRk9LfA544VqEV1vKbIh8Zzlw,2781
4
4
  airflow/providers/hashicorp/_internal_client/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
5
- airflow/providers/hashicorp/_internal_client/vault_client.py,sha256=AlwyQAvDJRwR9p4c_au6D-kUO67PqUpIFwDJow4-f5U,21452
5
+ airflow/providers/hashicorp/_internal_client/vault_client.py,sha256=dEz6fLLt5zFSHy2YI2w2jlVzU-a0zzFM6v_hcJ3YYuM,21435
6
6
  airflow/providers/hashicorp/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
7
- airflow/providers/hashicorp/hooks/vault.py,sha256=ZYs4DmwCHeMXcVbct0AYl4k-Ahyb7KJNgaV7y14AN0k,18795
7
+ airflow/providers/hashicorp/hooks/vault.py,sha256=P1XdqaBdAbZb7qa4q-f0zo7fUDNj2V67uGs4YAZ-PCM,18789
8
8
  airflow/providers/hashicorp/secrets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
9
9
  airflow/providers/hashicorp/secrets/vault.py,sha256=uYnw-EpdXyw0sj8QrVzHNhhTgtkDSFmIH77NYIkiRH8,11954
10
- apache_airflow_providers_hashicorp-3.6.3.dist-info/entry_points.txt,sha256=M338G3KvFSRu5IqEFm5Qheg_myVuQbsN_2EbAwcgqk4,105
11
- apache_airflow_providers_hashicorp-3.6.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
12
- apache_airflow_providers_hashicorp-3.6.3.dist-info/METADATA,sha256=er8c4KO76jTSjLS_Nru-tmZ25VDRRtFYJ9HGbVBQkqY,5805
13
- apache_airflow_providers_hashicorp-3.6.3.dist-info/RECORD,,
10
+ apache_airflow_providers_hashicorp-3.6.4.dist-info/entry_points.txt,sha256=M338G3KvFSRu5IqEFm5Qheg_myVuQbsN_2EbAwcgqk4,105
11
+ apache_airflow_providers_hashicorp-3.6.4.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
12
+ apache_airflow_providers_hashicorp-3.6.4.dist-info/METADATA,sha256=Yjkt3YfGfFLZLYgrqksRix0uO6w1nl2CvneNGgj4ids,5805
13
+ apache_airflow_providers_hashicorp-3.6.4.dist-info/RECORD,,