class_docstr: An example for training/inference.
class_docstr_tok: ["An","example","for","training\/inference","."]
docstr: Add requested slots to InputExample
  Args:
      frame: frame object from which requested slots are extracted
docstr_tok: ["Add","requested","slots","to","InputExample","Args",":","frame",":","frame","object","from","which","requested","slots","are","extracted"]
code: def add_requested_slots(self, frame: dict):
      """Add requested slots to InputExample
      Args:
          frame: frame object from which requested slots are extracted
      """
      all_slots = self.service_schema.slots
      slot = all_slots[self.requested_slot_id]
      if slot in frame["labels"]["slots"]:
          self.requested_slot_status = STATUS_ACTIVE
  
file_path: NeMo/nemo/collections/nlp/data/dialogue/input_example/sgd_input_example.py
imports: from typing import List
  from nemo.collections.nlp.data.dialogue.input_example.input_example import DialogueInputExample
  from nemo.utils import logging
label_desc: Use image node_id 9 for calling the SGDInputExample obj's underlying member method code with example usage: obj.add_requested_slots(frame) without return types