components/policy/tools/template_writers/writers/doc_writer.py
def _AddSchema(self, parent, schema):
    '''Adds a schema to a DOM node.

    Args:
      parent: The DOM node for which the schema will be added.
      schema: The schema of a policy.
    '''
    dd = self._AddPolicyAttribute(parent, 'schema', None,
                                  ['.monospace', '.pre-wrap'])
    # Explicitly specify separators since defaults depend on python version.
    schema_json = json.dumps(schema,
                             indent=2,
                             sort_keys=True,
                             separators=(", ", ": "))
    self.AddText(dd, schema_json)
Adds a schema to a DOM node.

    Args:
      parent: The DOM node for which the schema will be added.
      schema: The schema of a policy.
    
Adds a schema to a DOM node.
Adds a schema to a DOM node .
def _AddSchema(self, parent, schema):
    dd = self._AddPolicyAttribute(parent, 'schema', None,
                                  ['.monospace', '.pre-wrap'])
    schema_json = json.dumps(schema,
                             indent=2,
                             sort_keys=True,
                             separators=(", ", ": "))
    self.AddText(dd, schema_json)
def _AddSchema ( self , parent , schema ) : dd = self . _AddPolicyAttribute ( parent , 'schema' , None , [ '.monospace' , '.pre-wrap' ] ) schema_json = json . dumps ( schema , indent = 2 , sort_keys = True , separators = ( ", " , ": " ) ) self . AddText ( dd , schema_json )
Adds a schema to a DOM node.
Adds a schema to a DOM node .
'''Adds a schema to a DOM node.

    Args:
      parent: The DOM node for which the schema will be added.
      schema: The schema of a policy.
    ''' # Explicitly specify separators since defaults depend on python version.
self
parent
The DOM node for which the schema will be added.
The DOM node for which the schema will be added .
schema
The schema of a policy.
The schema of a policy .