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
from .exceptions import DoesNotExist as DoesNotExist
class Model(metaclass=MetaModel):
DoesNotExist = DoesNotExist
seen in third_party/2and3/pynamodb/models.pyi.
This is because pytype only allows aliases to point to attributes on the same class. We can either fix this in our parser or change the alias to a constant (DoesNotExist: Type[DoesNotExist]), although that decreases readability and might confuse other type checkers.
The text was updated successfully, but these errors were encountered:
pytype doesn't support the following:
seen in
third_party/2and3/pynamodb/models.pyi
.This is because pytype only allows aliases to point to attributes on the same class. We can either fix this in our parser or change the alias to a constant (
DoesNotExist: Type[DoesNotExist]
), although that decreases readability and might confuse other type checkers.The text was updated successfully, but these errors were encountered: