class documentation
class PaperDocUpdatePolicy(bb.Union): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar paper.PaperDocUpdatePolicy.append: The content will be appended to the doc. :ivar paper.PaperDocUpdatePolicy.prepend: The content will be prepended to the doc. The doc title will not be affected. :ivar paper.PaperDocUpdatePolicy.overwrite_all: The document will be overwitten at the head with the provided content.
Method | is |
Check if the union tag is ``append``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``overwrite_all``. |
Method | is |
Check if the union tag is ``prepend``. |
Class Variable | append |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | overwrite |
Undocumented |
Class Variable | prepend |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |