File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,7 @@ strict = True
4
4
exclude = noxfile\.py
5
5
warn_unused_configs = True
6
6
7
- [mypy-avro.*,backoff,flaky]
7
+ ; Ignore errors caused due to missing library stubs or py.typed marker
8
+ ; Refer https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker
9
+ [mypy-avro.*,backoff,flaky,google.cloud.*]
8
10
ignore_missing_imports = True
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ def update_subscription_with_dead_letter_policy(
528
528
)
529
529
530
530
with subscriber :
531
- subscription_after_update = subscriber .update_subscription (
531
+ subscription_after_update : gapic_types . Subscription = subscriber .update_subscription (
532
532
request = {"subscription" : subscription , "update_mask" : update_mask }
533
533
)
534
534
@@ -573,7 +573,7 @@ def remove_dead_letter_policy(
573
573
)
574
574
575
575
with subscriber :
576
- subscription_after_update = subscriber .update_subscription (
576
+ subscription_after_update : gapic_types . Subscription = subscriber .update_subscription (
577
577
request = {"subscription" : subscription , "update_mask" : update_mask }
578
578
)
579
579
You can’t perform that action at this time.
0 commit comments