Skip to content

Fix typing literal in dataclasses

Mateusz Żebrak requested to merge mzebrak/typing-fix into develop

See: https://github.com/python/mypy/issues/17031#issuecomment-2006488838

Because of mypy bug of not detecting literal correctly when defined like ClassVar[TypeAlias], there was also bug where literal allowed for something else that was specified (search_top instead search_top_with...)

There was also another naming issue unvoted_first but they are voted_first

Also introduced CliveSelect for better typing

Edited by Mateusz Żebrak

Merge request reports

Loading