massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / google / protobuf / message_factory.pyi
1 from typing import Any, Dict, Iterable, Optional, Type\r
2 \r
3 from .message import Message\r
4 from .descriptor import Descriptor\r
5 from .descriptor_pool import DescriptorPool\r
6 \r
7 class MessageFactory:\r
8     pool = ...  # type: Any\r
9     def __init__(self, pool: Optional[DescriptorPool] = ...) -> None: ...\r
10     def GetPrototype(self, descriptor: Descriptor) -> Type[Message]: ...\r
11     def GetMessages(self, files: Iterable[bytes]) -> Dict[bytes, Type[Message]]: ...\r
12 \r
13 def GetMessages(file_protos: Iterable[bytes]) -> Dict[bytes, Type[Message]]: ...\r