# pylint: disable=missing-docstring,unused-argument,pointless-statement # pylint: disable=too-few-public-methods,no-name-in-module from __future__ import annotations as __annotations__ class MyClass: @classmethod def from_string(cls, source) -> MyClass: ... def validate_b(self, obj: OtherClass) -> bool: ... class OtherClass: ... class Example: obj: Other class Other: ... class ExampleSelf: next: ExampleSelf