Skip to content

Commit f7adc60

Browse files
committed
increase coverage
1 parent a5da52d commit f7adc60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ class MyModel(Model):
2020
my_model.my_attr = 42
2121
my_model.my_nullable_attr = 42
2222
my_model.my_not_nullable_attr = 42
23+
24+
# just here to exercise the fallthrough of 'get_method_signature_hook'
25+
reveal_type(MyModel.my_attr.exists()) # N: Revealed type is 'pynamodb.expressions.condition.Exists'
2326
""") # noqa: E501
2427

2528

0 commit comments

Comments
 (0)