class documentation
class ImportFormat(bb.Union): (source)
The import format of the incoming data. 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.ImportFormat.html: The provided data is interpreted as standard HTML. :ivar paper.ImportFormat.markdown: The provided data is interpreted as markdown. The first line of the provided document will be used as the doc title. :ivar paper.ImportFormat.plain_text: The provided data is interpreted as plain text. The first line of the provided document will be used as the doc title.
Method | is |
Check if the union tag is ``html``. |
Method | is |
Check if the union tag is ``markdown``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``plain_text``. |
Class Variable | html |
Undocumented |
Class Variable | markdown |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | plain |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |