Defined in File control.hpp
-
struct ControlMessageProxy
-
Public Static Functions
- static std::shared_ptr<ControlMessage> create(pybind11::dict &config)
- static std::shared_ptr<ControlMessage> copy(ControlMessage &self)
- static pybind11::dict config(ControlMessage &self)
- static void config(ControlMessage &self, pybind11::dict &config)
- static void add_task(ControlMessage &self, const std::string &type, pybind11::dict &task)
- static pybind11::dict remove_task(ControlMessage &self, const std::string &type)
-
static void set_metadata(ControlMessage &self, const std::string &key, pybind11::object &value)
Set a metadata key-value pair — value must be json serializable.
- Parameters
self –
key –
value –
- static pybind11::object get_metadata(ControlMessage &self, const std::string &key)