_pyAsString#

Fully qualified name: usd_optimize::_pyAsString

std::string usd_optimize::_pyAsString(PyObject *pyObject)#

Attempts to return the given python object as a std::string.

Throws:

std::runtime_error – if the object is not a Python unicode string