diff options
author | Lucas Abel <22837557+uael@users.noreply.github.com> | 2023-11-05 23:01:12 -0800 |
---|---|---|
committer | Lucas Abel <22837557+uael@users.noreply.github.com> | 2023-11-05 23:20:51 -0800 |
commit | 40c5c68068008e21b5b6b72b07195ec327be6588 (patch) | |
tree | 4a7b541b7715400f3cd568c227c232bceccc8e0f | |
parent | b3825537144f24a60446cc25e1a6dd98c9c791eb (diff) | |
download | bt-test-interfaces-40c5c68068008e21b5b6b72b07195ec327be6588.tar.gz |
Update protoc-gen-custom_grpc
-rwxr-xr-x | python/_build/protoc-gen-custom_grpc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/_build/protoc-gen-custom_grpc b/python/_build/protoc-gen-custom_grpc index 7ba6a12..cb8adf4 100755 --- a/python/_build/protoc-gen-custom_grpc +++ b/python/_build/protoc-gen-custom_grpc @@ -595,9 +595,9 @@ for file_name in _REQUEST.file_to_generate: content='def unwrap(x):\n assert x\n return x\n' )) - pyi_imports: List[str] = ['from __future__ import annotations'] - grpc_imports: List[str] = ['from __future__ import annotations', 'import grpc'] - grpc_aio_imports: List[str] = ['from __future__ import annotations', 'import grpc', 'import grpc.aio'] + pyi_imports: List[str] = ['from __future__ import annotations # type: ignore'] + grpc_imports: List[str] = ['from __future__ import annotations # type: ignore', 'import grpc'] + grpc_aio_imports: List[str] = ['from __future__ import annotations # type: ignore', 'import grpc', 'import grpc.aio'] enums = '\n'.join(sum([generate_enum(pyi_imports, file, enum, _FILES) for enum in file.enum_type], [])) messages = '\n'.join(sum([generate_message(pyi_imports, file, message, _FILES) for message in file.message_type], [])) |