-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Description
betterproto version: v2.0.0b2
Reproduce steps:
git clone git@github.com:wechaty/grpc.git
cd grpc/python
make install
make generate
cat src/wechaty_grpc/wechaty/__init__.pyWe generated the following code:
# ...
from typing import AsyncIterable, AsyncIterator, Iterable, Optional, Union
# ...
async def contact_phone(
self, *, contact_id: str = "", phone_list: Optional[List[str]] = None
) -> "puppet.ContactPhoneResponse":
# ...As we can see: there's a List in the code, but there's no List imported from typing.
Link to: wechaty/grpc#120
Metadata
Metadata
Assignees
Labels
No labels