Closed lubaskinc0de closed 2 months ago
Yes, this is a bug.
The code should looks like
def strip_annotated(value: N) -> N:
if HAS_ANNOTATED and isinstance(value, BaseNormType) and value.origin == typing.Annotated:
return strip_annotated(value.args[0])
return value
This function was removed in 5f0ffff6cf552c1ac63fcae5c939736baa7ea71a.
what it should do?