elaunira-airflow-provider-r2index 0.1.1__tar.gz → 0.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elaunira-airflow-provider-r2index
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: Airflow provider for Elaunira R2Index connections
5
5
  Project-URL: Repository, https://github.com/elaunira/elaunira-airflow-provider-r2index
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "elaunira-airflow-provider-r2index"
7
- version = "0.1.1"
7
+ version = "0.1.3"
8
8
  description = "Airflow provider for Elaunira R2Index connections"
9
9
  requires-python = ">=3.12"
10
10
  license = "MIT"
@@ -97,24 +97,28 @@ class R2IndexHook(BaseHook):
97
97
  @classmethod
98
98
  def get_connection_form_widgets(cls) -> dict[str, Any]:
99
99
  """Define custom connection form widgets."""
100
- from flask_appbuilder.fieldwidgets import BS3PasswordFieldWidget, BS3TextFieldWidget
100
+ from flask_appbuilder.fieldwidgets import (
101
+ BS3PasswordFieldWidget,
102
+ BS3TextAreaFieldWidget,
103
+ BS3TextFieldWidget,
104
+ )
101
105
  from flask_babel import lazy_gettext
102
- from wtforms import PasswordField, StringField
106
+ from wtforms import PasswordField, StringField, TextAreaField
103
107
 
104
108
  return {
105
109
  "vault_conn_id": StringField(
106
110
  lazy_gettext("Vault Connection ID"),
107
111
  widget=BS3TextFieldWidget(),
108
- description="Airflow Vault connection ID (e.g., openbao-ipregistry)",
112
+ description="Airflow Vault connection ID (e.g., openbao-elaunira)",
109
113
  ),
110
114
  "vault_namespace": StringField(
111
115
  lazy_gettext("Vault Namespace"),
112
116
  widget=BS3TextFieldWidget(),
113
- description="OpenBao namespace (e.g., ipregistry/production)",
117
+ description="OpenBao namespace (e.g., elaunira/production)",
114
118
  ),
115
- "vault_secrets": StringField(
119
+ "vault_secrets": TextAreaField(
116
120
  lazy_gettext("Vault Secrets (JSON)"),
117
- widget=BS3TextFieldWidget(),
121
+ widget=BS3TextAreaFieldWidget(),
118
122
  description="JSON mapping of config keys to secret paths",
119
123
  ),
120
124
  "r2_access_key_id": StringField(