class_docstr: Safety Teacher for ProsocialDialog Data https://github.com/skywalker023/prosocial-dialog
  set --one-turn to true for just one turn without the context.
class_docstr_tok: ["Safety","Teacher","for","ProsocialDialog","Data","https",":","\/\/github.com\/skywalker023\/prosocial-dialog","set","--","one-turn","to","true","for","just","one","turn","without","the","context","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      super().add_cmdline_args(parser, partial_opt)
      agent = parser.add_argument_group(
          "prosocial dialog safety options"
      )
      agent.add_argument(
          "--one-turn",
          type=bool,
          default=False,
          help="Whether or not to have the text include the context if it exists or just single turn",
      )
      return parser
  
imports: import json
  import os
  from typing import Optional
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.teachers import DialogTeacher
  from .build import build
label_desc: Use image node_id 1 for calling the ProsocialDialogSafetyTeacher obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser