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
Currently attributes can be defined by assigning via self in the __init__ method. This should be extended to all methods, in order to improve compatibility with Python:
class A:
def __init__(self) -> None:
self.x = 1 # Ok, define x
def foo(self) -> None:
self.y = 'a' # Ok, define y
The text was updated successfully, but these errors were encountered:
Currently attributes can be defined by assigning via self in the
__init__
method. This should be extended to all methods, in order to improve compatibility with Python:The text was updated successfully, but these errors were encountered: