Skip to content

Commit d85d10a

Browse files
Update stac_fastapi/pgstac/config.py
Co-authored-by: Henry Rodman <[email protected]>
1 parent d263d72 commit d85d10a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

stac_fastapi/pgstac/config.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,16 @@ class PostgresSettings(BaseSettings):
7575
default=None,
7676
),
7777
]
78-
postgres_host: Annotated[
78+
postgres_host_reader: Annotated[
7979
Optional[str],
8080
Field(
81-
deprecated="`postgres_host` is deprecated, please use `pghost`", default=None
81+
deprecated="`postgres_host_reader` is deprecated, please use `pghost`", default=None
82+
),
83+
]
84+
postgres_host_writer: Annotated[
85+
Optional[str],
86+
Field(
87+
deprecated="`postgres_host_writer` is deprecated, please use `pghost`", default=None
8288
),
8389
]
8490
postgres_port: Annotated[

0 commit comments

Comments
 (0)