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
class Foo:
def __get__(self, instance, owner) -> str:
...
def __set__(self, instance, value: str) -> None:
...
class Test:
foo = Foo()
test = Test()
test.foo.split() # Undefined attribute [16]: `Foo` has no attribute `split`.
test.foo = 1 # There should be an error.