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
* Move to types-grpci
o from typeshed because grpc-stubs has been archived
Signed-off-by: Aidan Jensen <aidandj.github@gmail.com>
* update test output from mypy update
Signed-off-by: Aidan Jensen <aidandj.github@gmail.com>
---------
Signed-off-by: Aidan Jensen <aidandj.github@gmail.com>
test_negative/negative.py:211: error: "DummyReply" has no attribute "not_exists" [attr-defined]
108
108
test_negative/negative.py:212: error: "DummyReply" has no attribute "__iter__" (not iterable) [attr-defined]
109
109
test_negative/negative.py:217: error: "DummyReply" has no attribute "not_exists" [attr-defined]
110
-
test_negative/negative.py:219: error: "CallIterator[DummyReply]" has no attribute "value" [attr-defined]
110
+
test_negative/negative.py:219: error: "_CallIterator[DummyReply]" has no attribute "value" [attr-defined]
111
111
test_negative/negative.py:226: error: Argument 1 to "__call__" of "StreamUnaryMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
112
112
test_negative/negative.py:228: error: "DummyReply" has no attribute "__iter__" (not iterable) [attr-defined]
113
113
test_negative/negative.py:228: error: Argument 1 to "__call__" of "StreamUnaryMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
114
114
test_negative/negative.py:231: error: Argument 1 to "__call__" of "StreamStreamMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
115
115
test_negative/negative.py:235: error: "DummyReply" has no attribute "not_exists" [attr-defined]
116
-
test_negative/negative.py:272: error: Return type "Iterator[DummyReply]" of "UnaryUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "DummyServiceServicer" [override]
117
-
test_negative/negative.py:274: error: Argument 1 of "UnaryUnary" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
116
+
test_negative/negative.py:272: error: Return type "Iterator[DummyReply]" of "UnaryUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
117
+
test_negative/negative.py:274: error: Argument 1 of "UnaryUnary" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
118
118
test_negative/negative.py:274: note: This violates the Liskov substitution principle
119
119
test_negative/negative.py:274: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
120
-
test_negative/negative.py:280: error: Return type "DummyReply" of "UnaryStream" incompatible with return type "Iterator[DummyReply] | AsyncIterator[DummyReply]" in supertype "DummyServiceServicer" [override]
121
-
test_negative/negative.py:282: error: Argument 1 of "UnaryStream" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
120
+
test_negative/negative.py:280: error: Return type "DummyReply" of "UnaryStream" incompatible with return type "Iterator[DummyReply] | AsyncIterator[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
121
+
test_negative/negative.py:282: error: Argument 1 of "UnaryStream" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
122
122
test_negative/negative.py:282: note: This violates the Liskov substitution principle
123
123
test_negative/negative.py:282: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
124
-
test_negative/negative.py:289: error: Return type "Iterator[DummyReply]" of "StreamUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "DummyServiceServicer" [override]
125
-
test_negative/negative.py:291: error: Argument 1 of "StreamUnary" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "_MaybeAsyncIterator[DummyRequest]" [override]
124
+
test_negative/negative.py:289: error: Return type "Iterator[DummyReply]" of "StreamUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
125
+
test_negative/negative.py:291: error: Argument 1 of "StreamUnary" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "_MaybeAsyncIterator[DummyRequest]" [override]
126
126
test_negative/negative.py:291: note: This violates the Liskov substitution principle
127
127
test_negative/negative.py:291: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
128
128
test_negative/negative.py:331: error: Argument "implicit_singular" to "Editions2024Test" has incompatible type "None"; expected "str" [arg-type]
test_negative/negative.py: error: "DummyReply" has no attribute "not_exists" [attr-defined]
108
108
test_negative/negative.py: error: "DummyReply" has no attribute "__iter__" (not iterable) [attr-defined]
109
109
test_negative/negative.py: error: "DummyReply" has no attribute "not_exists" [attr-defined]
110
-
test_negative/negative.py: error: "CallIterator[DummyReply]" has no attribute "value" [attr-defined]
110
+
test_negative/negative.py: error: "_CallIterator[DummyReply]" has no attribute "value" [attr-defined]
111
111
test_negative/negative.py: error: Argument 1 to "__call__" of "StreamUnaryMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
112
112
test_negative/negative.py: error: "DummyReply" has no attribute "__iter__" (not iterable) [attr-defined]
113
113
test_negative/negative.py: error: Argument 1 to "__call__" of "StreamUnaryMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
114
114
test_negative/negative.py: error: Argument 1 to "__call__" of "StreamStreamMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
115
115
test_negative/negative.py: error: "DummyReply" has no attribute "not_exists" [attr-defined]
116
-
test_negative/negative.py: error: Return type "Iterator[DummyReply]" of "UnaryUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "DummyServiceServicer" [override]
117
-
test_negative/negative.py: error: Argument 1 of "UnaryUnary" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
116
+
test_negative/negative.py: error: Return type "Iterator[DummyReply]" of "UnaryUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
117
+
test_negative/negative.py: error: Argument 1 of "UnaryUnary" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
118
118
test_negative/negative.py: note: This violates the Liskov substitution principle
119
119
test_negative/negative.py: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
120
-
test_negative/negative.py: error: Return type "DummyReply" of "UnaryStream" incompatible with return type "Iterator[DummyReply] | AsyncIterator[DummyReply]" in supertype "DummyServiceServicer" [override]
121
-
test_negative/negative.py: error: Argument 1 of "UnaryStream" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
120
+
test_negative/negative.py: error: Return type "DummyReply" of "UnaryStream" incompatible with return type "Iterator[DummyReply] | AsyncIterator[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
121
+
test_negative/negative.py: error: Argument 1 of "UnaryStream" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
122
122
test_negative/negative.py: note: This violates the Liskov substitution principle
123
123
test_negative/negative.py: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
124
-
test_negative/negative.py: error: Return type "Iterator[DummyReply]" of "StreamUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "DummyServiceServicer" [override]
125
-
test_negative/negative.py: error: Argument 1 of "StreamUnary" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "_MaybeAsyncIterator[DummyRequest]" [override]
124
+
test_negative/negative.py: error: Return type "Iterator[DummyReply]" of "StreamUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
125
+
test_negative/negative.py: error: Argument 1 of "StreamUnary" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "_MaybeAsyncIterator[DummyRequest]" [override]
126
126
test_negative/negative.py: note: This violates the Liskov substitution principle
127
127
test_negative/negative.py: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
128
128
test_negative/negative.py: error: Argument "implicit_singular" to "Editions2024Test" has incompatible type "None"; expected "str" [arg-type]
test_negative/negative.py:211: error: "DummyReply" has no attribute "not_exists" [attr-defined]
108
108
test_negative/negative.py:212: error: "DummyReply" has no attribute "__iter__" (not iterable) [attr-defined]
109
109
test_negative/negative.py:217: error: "DummyReply" has no attribute "not_exists" [attr-defined]
110
-
test_negative/negative.py:219: error: "CallIterator[DummyReply]" has no attribute "value" [attr-defined]
110
+
test_negative/negative.py:219: error: "_CallIterator[DummyReply]" has no attribute "value" [attr-defined]
111
111
test_negative/negative.py:226: error: Argument 1 to "__call__" of "StreamUnaryMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
112
112
test_negative/negative.py:228: error: "DummyReply" has no attribute "__iter__" (not iterable) [attr-defined]
113
113
test_negative/negative.py:228: error: Argument 1 to "__call__" of "StreamUnaryMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
114
114
test_negative/negative.py:231: error: Argument 1 to "__call__" of "StreamStreamMultiCallable" has incompatible type "DummyRequest"; expected "Iterator[DummyRequest]" [arg-type]
115
115
test_negative/negative.py:235: error: "DummyReply" has no attribute "not_exists" [attr-defined]
116
-
test_negative/negative.py:272: error: Return type "Iterator[DummyReply]" of "UnaryUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "DummyServiceServicer" [override]
117
-
test_negative/negative.py:274: error: Argument 1 of "UnaryUnary" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
116
+
test_negative/negative.py:272: error: Return type "Iterator[DummyReply]" of "UnaryUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
117
+
test_negative/negative.py:274: error: Argument 1 of "UnaryUnary" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
118
118
test_negative/negative.py:274: note: This violates the Liskov substitution principle
119
119
test_negative/negative.py:274: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
120
-
test_negative/negative.py:280: error: Return type "DummyReply" of "UnaryStream" incompatible with return type "Iterator[DummyReply] | AsyncIterator[DummyReply]" in supertype "DummyServiceServicer" [override]
121
-
test_negative/negative.py:282: error: Argument 1 of "UnaryStream" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
120
+
test_negative/negative.py:280: error: Return type "DummyReply" of "UnaryStream" incompatible with return type "Iterator[DummyReply] | AsyncIterator[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
121
+
test_negative/negative.py:282: error: Argument 1 of "UnaryStream" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "DummyRequest" [override]
122
122
test_negative/negative.py:282: note: This violates the Liskov substitution principle
123
123
test_negative/negative.py:282: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
124
-
test_negative/negative.py:289: error: Return type "Iterator[DummyReply]" of "StreamUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "DummyServiceServicer" [override]
125
-
test_negative/negative.py:291: error: Argument 1 of "StreamUnary" is incompatible with supertype "DummyServiceServicer"; supertype defines the argument type as "_MaybeAsyncIterator[DummyRequest]" [override]
124
+
test_negative/negative.py:289: error: Return type "Iterator[DummyReply]" of "StreamUnary" incompatible with return type "DummyReply | Awaitable[DummyReply]" in supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer" [override]
125
+
test_negative/negative.py:291: error: Argument 1 of "StreamUnary" is incompatible with supertype "testproto.grpc.dummy_pb2_grpc.DummyServiceServicer"; supertype defines the argument type as "_MaybeAsyncIterator[DummyRequest]" [override]
126
126
test_negative/negative.py:291: note: This violates the Liskov substitution principle
127
127
test_negative/negative.py:291: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
128
128
test_negative/negative.py:331: error: Argument "implicit_singular" to "Editions2024Test" has incompatible type "None"; expected "str" [arg-type]
0 commit comments