Skip to content

Typing for BaseConverter convert doesn't respect CONSUME_MULTIPLE_SEGMENTS #2396

@davetapley

Description

@davetapley

Correct:

"""Convert a URI template field value to another format or type.
Args:
value (str or List[str]): Original string to convert.

Wrong, should be value: str | list[str]:

def convert(self, value: str) -> Any:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions