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