module documentation
Tests for klein.plating
.
Class |
|
A value within a JSON serializable object that is deferred. |
Class |
|
A class with a method that's a Plating.widget . |
Class |
|
Tests for Plating . |
Class |
|
Tests for resolve_deferred_objects . |
Class |
|
Tests for transform_json_object . |
Function | deferred |
Provide some Deferred values for the element template. |
Function | enwidget |
Provide some values for the element template. |
Function | json |
Creates a Hypothesis strategy that constructs composite JSON-serializable objects (e.g., lists). |
Function | registered |
Register a render method with the page so that the template can use it. |
Function | transform |
Recursively apply a transforming function to a JSON serializable object, returning a new, transformed object. |
Variable | element |
Undocumented |
Variable | json |
Undocumented |
Variable | json |
Undocumented |
Variable | page |
Undocumented |
Creates a Hypothesis strategy that constructs composite JSON-serializable objects (e.g., lists).
Parameters | |
children | A strategy from which each composite object's children will be drawn. |
Returns | |
The composite objects strategy. |
Recursively apply a transforming function to a JSON serializable object, returning a new, transformed object.
Parameters | |
json | Undocumented |
transformer | A one-argument callable that will be applied to each member of the object. |
json | A JSON serializable object to transform. |
Returns | |
A transformed copy of jsonObject. |