Skip to content

Commit 0157e0e

Browse files
Migrate postgres connection UI metadata to YAML (#62445)
1 parent f03beb9 commit 0157e0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

providers/postgres/provider.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ hooks:
108108
connection-types:
109109
- hook-class-name: airflow.providers.postgres.hooks.postgres.PostgresHook
110110
connection-type: postgres
111+
ui-field-behaviour:
112+
relabeling:
113+
schema: Database
111114

112115
asset-uris:
113116
- schemes: [postgres, postgresql]

providers/postgres/src/airflow/providers/postgres/get_provider_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def get_provider_info():
5151
{
5252
"hook-class-name": "airflow.providers.postgres.hooks.postgres.PostgresHook",
5353
"connection-type": "postgres",
54+
"ui-field-behaviour": {"relabeling": {"schema": "Database"}},
5455
}
5556
],
5657
"asset-uris": [

0 commit comments

Comments
 (0)