← 返回首页
mypy argtype failure in ui_server.py with mypy>=1.11 · Issue #4462 · feast-dev/feast · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

mypy argtype failure in ui_server.py with mypy>=1.11 #4462

New issue
New issue

Description

Expected Behavior

Type checking should pass!

Current Behavior

With mypy 1.11

feast/ui_server.py:54: error: Argument 1 to "files" has incompatible type "str | None"; expected "str | Module" [arg-type] feast/ui_server.py:54: note: Error code "arg-type" not covered by "type: ignore" comment

Steps to reproduce

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

Specifications

  • Version: main

Possible Solution

Presumably mypy has identified a nullness bug, or a bug in itself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    • Open in GitHub Copilot app

    Footer

    © 2026 GitHub, Inc.