◐ Shell
clean mode source ↗

mypy arg-type failure in postgres/connection_utils.py with psycopg>=3.2

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Assignees

shuchu

@cburroughs

Description

@cburroughs

Expected Behavior

Type checking should pass

Current Behavior

With psycopg>=3.2,

feast/infra/utils/postgres/connection_utils.py:66: error: Argument 2 to "make_conninfo" has incompatible type "**dict[str, object]"; expected "str | int | None"  [arg-type]

Steps to reproduce

  • Get your dev environment to the point where you can run make lint-python
  • pip install --upgrade 'psycopg>=3.2'
  • make lint-python` --> the above error

Metadata

Metadata

Labels

No fields configured for issues without a type.

Development

No branches or pull requests

Issue actions