Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions providers/pinecone/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,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": [
Expand Down