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 be73d41cba8 Migrate pinecone connection UI metadata to YAML (#62650)
be73d41cba8 is described below
commit be73d41cba8ceb5e92057aed8e01a50eb05baa55
Author: Justin Pakzad <[email protected]>
AuthorDate: Wed Mar 11 06:52:25 2026 -0400
Migrate pinecone connection UI metadata to YAML (#62650)
* Migrate pinecone connection UI to metadata YAML
* Fixed yaml formatting issue
---------
Co-authored-by: Amogh Desai <[email protected]>
---
providers/pinecone/provider.yaml | 28 ++++++++++++++++++++++
.../providers/pinecone/get_provider_info.py | 16 +++++++++++++
2 files changed, 44 insertions(+)
diff --git a/providers/pinecone/provider.yaml b/providers/pinecone/provider.yaml
index 6b1d0c47048..fb25dcdc943 100644
--- a/providers/pinecone/provider.yaml
+++ b/providers/pinecone/provider.yaml
@@ -69,6 +69,34 @@ hooks:
connection-types:
- hook-class-name: airflow.providers.pinecone.hooks.pinecone.PineconeHook
connection-type: pinecone
+ ui-field-behaviour:
+ hidden-fields:
+ - port
+ - schema
+ relabeling:
+ login: Pinecone Environment
+ host: Pinecone Host
+ password: Pinecone API key
+ conn-fields:
+ region:
+ label: Pinecone Region
+ schema:
+ type:
+ - string
+ - 'null'
+ debug_curl:
+ label: PINECONE_DEBUG_CURL
+ schema:
+ type:
+ - boolean
+ - 'null'
+ default: false
+ project_id:
+ label: Project ID
+ schema:
+ type:
+ - string
+ - 'null'
operators:
- integration-name: Pinecone
diff --git
a/providers/pinecone/src/airflow/providers/pinecone/get_provider_info.py
b/providers/pinecone/src/airflow/providers/pinecone/get_provider_info.py
index c8215f170df..507e41956af 100644
--- a/providers/pinecone/src/airflow/providers/pinecone/get_provider_info.py
+++ b/providers/pinecone/src/airflow/providers/pinecone/get_provider_info.py
@@ -42,6 +42,22 @@ def get_provider_info():
{
"hook-class-name":
"airflow.providers.pinecone.hooks.pinecone.PineconeHook",
"connection-type": "pinecone",
+ "ui-field-behaviour": {
+ "hidden-fields": ["port", "schema"],
+ "relabeling": {
+ "login": "Pinecone Environment",
+ "host": "Pinecone Host",
+ "password": "Pinecone API key",
+ },
+ },
+ "conn-fields": {
+ "region": {"label": "Pinecone Region", "schema": {"type":
["string", "null"]}},
+ "debug_curl": {
+ "label": "PINECONE_DEBUG_CURL",
+ "schema": {"type": ["boolean", "null"], "default":
False},
+ },
+ "project_id": {"label": "Project ID", "schema": {"type":
["string", "null"]}},
+ },
}
],
"operators": [