You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one tries to write a type annotation for the __init__ method, the container will try to resolve this type (which is None) and this will cause an error.
The text was updated successfully, but these errors were encountered:
nme01
changed the title
dd
Return type for the init method
Jul 31, 2017
nme01
changed the title
Return type for the init method
Return type for the __init__ method (None)
Jul 31, 2017
Thanks for raising this, much appreciated. Do you have a small code sample that replicates this? Would also help to know what version of Python you're running.
When one tries to write a type annotation for the
__init__
method, the container will try to resolve this type (which isNone
) and this will cause an error.The text was updated successfully, but these errors were encountered: