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
I did not have this problem in 0.19.1. After upgrading to 0.20.0, the below code errors on model.Meta
fromtypingimportTYPE_CHECKINGifTYPE_CHECKING:
fromdjango.db.modelsimportModeldeffoo(model: type['Model']):
model.Meta# Cannot access attribute "Meta" for class "type[Model]". Attribute "Meta" is unknownPylance[reportAttributeAccessIssue]
The text was updated successfully, but these errors were encountered:
I did not have this problem in
0.19.1
. After upgrading to0.20.0
, the below code errors onmodel.Meta
The text was updated successfully, but these errors were encountered: