@@ -27,10 +27,6 @@ def class_method(cls, hello: str) -> int:
2727 """Fizz some buzzes."""
2828 raise NotImplementedError ()
2929
30- def do_the_thing (self , * , flag : bool ) -> None :
31- """Perform a side-effect without a return value."""
32- raise NotImplementedError ()
33-
3430 @property
3531 def primitive_property (self ) -> str :
3632 """Get a primitive computed property."""
@@ -52,15 +48,18 @@ class SomeNestedClass:
5248
5349 child_attr : SomeClass
5450
55- def foo (self , val : str ) -> str :
56- """Get the foo string."""
57- raise NotImplementedError ()
51+ alias_attr : "ConcreteAlias"
5852
5953 @property
6054 def child (self ) -> SomeClass :
6155 """Get the child instance."""
6256 raise NotImplementedError ()
6357
58+ @property
59+ def alias_child (self ) -> "ConcreteAlias" :
60+ """Get the child instance."""
61+ raise NotImplementedError ()
62+
6463 @property
6564 def optional_child (self ) -> Optional [SomeClass ]:
6665 """Get the child instance."""
@@ -89,14 +88,6 @@ async def foo(self, val: str) -> str:
8988 """Get the foo string."""
9089 raise NotImplementedError ()
9190
92- async def bar (self , a : int , b : float , c : str ) -> bool :
93- """Get the bar bool based on a few inputs."""
94- raise NotImplementedError ()
95-
96- async def do_the_thing (self , * , flag : bool ) -> None :
97- """Perform a side-effect without a return value."""
98- raise NotImplementedError ()
99-
10091 @classmethod
10192 async def async_class_method (cls ) -> int :
10293 """Async class method."""
0 commit comments