Aleph-Alpha/aleph-alpha-client

DetokenizationResponse member "result" should be typed as str instead of Sequence[str]

BlueCrescent opened this issue · 3 comments

Hello everyone,

while technically a str is also a Sequence[str], in the following code the filed result should be treated as a str (as specified in the corresponding docs):

class DetokenizationResponse(NamedTuple):
result: Sequence[str]

@BlueCrescent Thanks for reporting this issue. @volkerstampa Could you fix this?

@BlueCrescent Thanks for the hint. Just fixed it. Will be released with the next release.

@BlueCrescent Released as v2.9.2