Skip to content
Merged
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
40 changes: 40 additions & 0 deletions providers/weaviate/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,46 @@ hooks:
connection-types:
- hook-class-name: airflow.providers.weaviate.hooks.weaviate.WeaviateHook
connection-type: weaviate
ui-field-behaviour:
hidden-fields:
- schema
relabeling:
login: OIDC Username
password: OIDC Password
conn-fields:
http_secure:
label: Use https
schema:
type:
- boolean
- 'null'
default: false
token:
label: Weaviate API Key
schema:
type:
- string
- 'null'
format: password
grpc_host:
label: gRPC host
schema:
type:
- string
- 'null'
grpc_port:
label: gRPC port
schema:
type:
- string
- 'null'
grpc_secure:
label: Use a secure channel for the underlying gRPC API
schema:
type:
- boolean
- 'null'
default: false

operators:
- integration-name: Weaviate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@ def get_provider_info():
{
"hook-class-name": "airflow.providers.weaviate.hooks.weaviate.WeaviateHook",
"connection-type": "weaviate",
"ui-field-behaviour": {
"hidden-fields": ["schema"],
"relabeling": {"login": "OIDC Username", "password": "OIDC Password"},
},
"conn-fields": {
"http_secure": {
"label": "Use https",
"schema": {"type": ["boolean", "null"], "default": False},
},
"token": {
"label": "Weaviate API Key",
"schema": {"type": ["string", "null"], "format": "password"},
},
"grpc_host": {"label": "gRPC host", "schema": {"type": ["string", "null"]}},
"grpc_port": {"label": "gRPC port", "schema": {"type": ["string", "null"]}},
"grpc_secure": {
"label": "Use a secure channel for the underlying gRPC API",
"schema": {"type": ["boolean", "null"], "default": False},
},
},
}
],
"operators": [
Expand Down
Loading