class_docstr: Immutable container for global conversion flags.
  
  Attributes:
    recursive: bool, whether to recursively convert any user functions or
      classes that the converted function may use.
    user_requested: bool, whether the conversion was explicitly requested by
      the user, as opposed to being performed as a result of other logic. This
      value always auto-resets to False in child conversions.
    optional_features: Union[Feature, Set[Feature]], controls the use of
      optional features in the conversion process. See Feature for available
      options.
docstr: Returns a representation of this object as an AST node.
  
  The AST node encodes a constructor that would create an object with the
  same contents.
  
  Returns:
    ast.Node
docstr_tok: ["Returns","a","representation","of","this","object","as","an","AST","node",".","The","AST","node","encodes","a","constructor","that","would","create","an","object","with","the","same","contents",".","Returns",":","ast.Node"]
code: def to_ast(self):
      """Returns a representation of this object as an AST node.
  
      The AST node encodes a constructor that would create an object with the
      same contents.
  
      Returns:
        ast.Node
      """
      if self == STANDARD_OPTIONS:
          return parser.parse_expression("ag__.STD")
  
      template = """
        ag__.ConversionOptions(
            recursive=recursive_val,
            user_requested=user_requested_val,
            optional_features=optional_features_val,
            internal_convert_user_code=internal_convert_user_code_val)
      """
  
      def list_of_features(values):
          return parser.parse_expression(
              "({})".format(
                  ", ".join("ag__.{}".format(str(v)) for v in values)
              )
          )
  
      expr_ast = templates.replace(
          template,
          recursive_val=parser.parse_expression(str(self.recursive)),
          user_requested_val=parser.parse_expression(
              str(self.user_requested)
          ),
          internal_convert_user_code_val=parser.parse_expression(
              str(self.internal_convert_user_code)
          ),
          optional_features_val=list_of_features(
              self.optional_features
          ),
      )
      return expr_ast[0].value
  
imports: import enum
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import ast_util
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import templates
  from nvidia.dali._autograph.pyct import transformer
  from nvidia.dali._autograph.utils.all_utils import export_symbol
label_desc: Use image node_id 8 for calling the ConversionOptions obj's underlying member method code with example usage: obj.to_ast() and returns: expr_ast, parser, parser