mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-30 08:57:11 +00:00
Try Annotated[Any, "cpp_namespace::UserType"]
unconditionally.
This commit is contained in:
parent
74439a64a2
commit
7780fbca6c
@ -493,7 +493,7 @@ protected:
|
|||||||
} else {
|
} else {
|
||||||
std::string tname(t->name());
|
std::string tname(t->name());
|
||||||
detail::clean_type_id(tname);
|
detail::clean_type_id(tname);
|
||||||
signature += tname;
|
signature += "Annotated[Any, \"" + tname + "\"]";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
signature += c;
|
signature += c;
|
||||||
|
Loading…
Reference in New Issue
Block a user