Skip to content

[BUG] Typehint for PowerGridModelInterface.create_grid_from_input_data is not Generic #142

@Thijss

Description

@Thijss

Describe the bug

this method is now typehinted with Grid. Should be Typehinted with a more generic

G = TypeVar("G", bound="Grid")

like elsewhere in the code

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions