This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6222cd6b738 Migrate openfaas connection UI metadata to YAML (#62683)
6222cd6b738 is described below
commit 6222cd6b738e65e29662c80916e0a6844df7fd1d
Author: ahilashsasidharan <[email protected]>
AuthorDate: Wed Mar 11 06:53:13 2026 -0400
Migrate openfaas connection UI metadata to YAML (#62683)
Co-authored-by: Amogh Desai <[email protected]>
---
providers/openfaas/provider.yaml | 7 +++++++
.../openfaas/src/airflow/providers/openfaas/get_provider_info.py | 1 +
2 files changed, 8 insertions(+)
diff --git a/providers/openfaas/provider.yaml b/providers/openfaas/provider.yaml
index 95e83e75906..97668473e84 100644
--- a/providers/openfaas/provider.yaml
+++ b/providers/openfaas/provider.yaml
@@ -70,3 +70,10 @@ hooks:
connection-types:
- hook-class-name: airflow.providers.openfaas.hooks.openfaas.OpenFaasHook
connection-type: openfaas
+ ui-field-behaviour:
+ hidden-fields:
+ - schema
+ - port
+ - login
+ - password
+ - extra
diff --git
a/providers/openfaas/src/airflow/providers/openfaas/get_provider_info.py
b/providers/openfaas/src/airflow/providers/openfaas/get_provider_info.py
index b524c0ceef6..c13d8ffb545 100644
--- a/providers/openfaas/src/airflow/providers/openfaas/get_provider_info.py
+++ b/providers/openfaas/src/airflow/providers/openfaas/get_provider_info.py
@@ -41,6 +41,7 @@ def get_provider_info():
{
"hook-class-name":
"airflow.providers.openfaas.hooks.openfaas.OpenFaasHook",
"connection-type": "openfaas",
+ "ui-field-behaviour": {"hidden-fields": ["schema", "port",
"login", "password", "extra"]},
}
],
}