Struct ControlMessageProxy

(Latest Version)
struct ControlMessageProxy

Public Static Functions

static std::shared_ptr<ControlMessage> create(pybind11::dict &config)

static std::shared_ptr<ControlMessage> create(std::shared_ptr<ControlMessage> other)

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 &#8212; value must be json serializable.

Parameters
  • self

  • key

  • value

static pybind11::object get_metadata(ControlMessage &self, const std::string &key)

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.