blob: 3492fe5c24f629da16ce4401b2d81bbb988eb7d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# pylint: disable=missing-docstring,unused-argument,pointless-statement
# pylint: disable=too-few-public-methods,no-name-in-module
from __future__ import annotations
class Class:
@classmethod
def from_string(cls, source) -> Class:
...
def validate_b(self, obj: OtherClass) -> bool:
...
class OtherClass:
...
class Example:
obj: Other
class Other:
...
class ExampleSelf:
next: ExampleSelf
|