Skip to content

Improve typehint on Item.from_json #3

@daankoning

Description

@daankoning

Currently it merely typehints Item. This is technically correct however it would be better if the typehint explicitly indicated that subclasses of Item, such as Tournament are returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestlow priorityNot important (for now)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions