The ooi.occi.rendering.text
Module¶
-
class
ooi.occi.rendering.text.
TextRenderer
(renderer)¶ Bases:
object
Render OCCI objects into text.
The text rendering is just the representation of the OCCI HTTP headers into text plain, so this renderer wraps around the actual header renderer and converts the headers into text.
-
render
(*args, **kwargs)¶ Render the OCCI object into text.
-
-
ooi.occi.rendering.text.
get_renderer
(obj)¶ Get the correct renderer for the given object.