* @brief Extracts attribute named `attr_name` from the python object. * * @param object python object. * @param attr_name name of the requested attribute. */
| 449 | * @param attr_name name of the requested attribute. |
| 450 | */ |
| 451 | auto ExtractPythonAttr(py::object &&object, const char *attr_name) { |
| 452 | return object.attr(attr_name); |
| 453 | } |
| 454 | |
| 455 | /** |
| 456 | * @brief Extracts nested attribute from the python object. |
no test coverage detected