We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1aa0f commit 331ccf1Copy full SHA for 331ccf1
pybind11_stubgen/parser/mixins/fix.py
@@ -875,7 +875,7 @@ def parse_annotation_str(
875
if not isinstance(result, InvalidExpression):
876
return result
877
878
- substitute_t = ResolvedType(self.handle_type(Any))
+ substitute_t = self.parse_annotation_str("typing.Any")
879
return ResolvedType(
880
QualifiedName.from_str("typing.Annotated"),
881
parameters=[
0 commit comments