October of 2022
Computer Science⚑
Programming⚑
Typing⚑
-
New: F821 undefined name when class method return type is the class name.
Since the class is not defined yet, to use it as the return type that a class method returns you need to:
from __future__ import annotations