Skip to content

Chore: Remove deprecated pyscopg v2 (pyscopg2) #532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion airbyte/_processors/sql/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PostgresConfig(SqlConfig):
def get_sql_alchemy_url(self) -> SecretString:
"""Return the SQLAlchemy URL to use."""
return SecretString(
f"postgresql://{self.username}:{self.password}@{self.host}:{self.port}/{self.database}"
f"postgresql+psycopg://{self.username}:{self.password}@{self.host}:{self.port}/{self.database}"
)

@overrides
Expand Down
Loading
Loading