Home | Trees | Indices | Help |
---|
|
Convert schema to a prototype object.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructor. Args: schema: object, Parsed JSON schema. seen: list, List of names of schema already seen while parsing. Used to handle recursive definitions. dent: int, Initial indentation depth.
|
Add text as a line to the output. Args: text: string, Text to output. |
Add text to the output, but with no line terminator. Args: text: string, Text to output. |
Add text and comment to the output with line terminator. Args: text: string, Text to output. comment: string, Python comment. |
Prototype object based on the schema, in Python code with comments. Args: schema: object, Parsed JSON schema file. Returns: Prototype object based on the schema, in Python code with comments. |
Prototype object based on the schema, in Python code with comments. Args: from_cache: callable(name, seen), Callable that retrieves an object prototype for a schema with the given name. Seen is a list of schema names already seen as we recursively descend the schema definition. Returns: Prototype object based on the schema, in Python code with comments. The lines of the code will all be properly indented. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Jun 14 15:57:29 2019 | http://epydoc.sourceforge.net |