throwpy::key_error("Failed to convert attribute type "+name+", this issue may come from typeid function which gave an unknown key : ["+attrType.name()+"]. Please open an issue asking to add the support for this key.");
}
returnres;
returnmAttrsPy.at(name);
};
#endif
#endif
private:
// Stores C++ attributes only
std::map<std::string,libany::any>mAttrs;
#ifdef PYBIND
// Stores C++ attributes (copy) and Python-only attributes