mypy incorrectly marks a @staticmethod definition of an attribute A to be incompatible with A's signature in…
mypy incorrectly marks a @staticmethod definition of an attribute A to be incompatible with A's signature in…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Bug Report When a class C defines an attribute a to be a union type with Callable as one of its types (a: Callable…
The task
Bug Report When a class C defines an attribute a to be a union type with Callable as one of its types (a: Callable | ...), mypy incorrectly marks a @staticmethod definition of a in a child class that inherits from C to be incompatible with a's signature in C. Worth noting that…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.