Skip to content

Commit

Permalink
Update modelAttribute.py
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi authored Apr 15, 2024
1 parent e3dc10f commit 8e80439
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testData/inspectionv2/modelAttribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def f(self):
b = B(a=1)
b.<warning descr="Unresolved attribute reference 'fake' for class 'B'">fake</warning>
B.Inner
B.__name__
b.__name__
class C(B):
c: int = 1
def ff(self):
Expand All @@ -35,4 +37,4 @@ def ff(self):
print(C.TEST)
C.Inner
C.model_fields
c.model_fields
c.model_fields

0 comments on commit 8e80439

Please sign in to comment.