class_docstr: KafkaOutputSequence
class_docstr_tok: ["KafkaOutputSequence"]
docstr: Set an indexed item in the `KafkaOutputSequence`.
  
  Args:
      index: An index in the sequence. The index tensor must be a scalar.
      item: the item which is associated with the index in the output sequence.
              The item tensor must be a scalar.
docstr_tok: ["Set","an","indexed","item","in","the","`","KafkaOutputSequence","`",".","Args",":","index",":","An","index","in","the","sequence",".","The","index","tensor","must","be","a","scalar",".","item",":","the","item","which","is","associated","with","the","index","in","the","output","sequence",".","The","item","tensor","must","be","a","scalar","."]
code: def setitem(self, index, item):
      """Set an indexed item in the `KafkaOutputSequence`.
  
      Args:
          index: An index in the sequence. The index tensor must be a scalar.
          item: the item which is associated with the index in the output sequence.
                  The item tensor must be a scalar.
      """
      core_ops.io_kafka_output_sequence_set_item(
          self._resource, index, item
      )
  
file_path: io/tensorflow_io/python/ops/kafka_deprecated_dataset_ops.py
imports: import warnings
  import tensorflow
  from tensorflow import dtypes
  from tensorflow.compat.v1 import data
  from tensorflow_io.python.ops import core_ops
  from tensorflow_io.python.utils import deprecation
label_desc: Use image node_id 2 for calling the KafkaOutputSequence obj's underlying member method code with example usage: obj.setitem(index, item) without return types