Try Annotated[Any, "cpp_namespace::UserType"] unconditionally.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-10-19 15:42:43 -07:00
parent 74439a64a2
commit 7780fbca6c

View File

@ -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;