Using PEP 484, is there a way to annotate that a classmethod returns an instance of that class?
e.g.
@dataclass
class Bar:
    foo: str
    @classmethod
    def new_from_foo(cls, foo) -> Bar
        ...
or
    @classmethod
    def new_from_foo(cls, foo) -> cls
 
    