Open daankoning opened 1 year ago
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.
Item
Tournament
This can quite easily be done with typing.Self.
typing.Self
Currently it merely typehints
Item
. This is technically correct however it would be better if the typehint explicitly indicated that subclasses ofItem
, such asTournament
are returned.