Skip to content

betterproto v2.0.0b2 missing List in the generating code #120

Open
@huan

Description

@huan

We 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions