Skip to content

networkx.algorithms.communicability_alg is typed incorrectly #15780

@jonathandung

Description

@jonathandung

The CI output here clearly means we can't merge this. You can look on the mypy issue tracker to see if an issue has already been reported, or even try to fix it.

I looked at the CI logs a bit and it might be finding some real bugs though. In networkx we have this line: def communicability_exp(G: Graph[_Node]) -> dict[dict[Incomplete, Incomplete], dict[Incomplete, float]]: .... A dict of course can't be a dict key.

Originally posted by @JelleZijlstra in #15754 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions