Skip to content

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

Closed

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions