class documentation
class TemplateFilter(TemplateFilterBase): (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 file_properties.TemplateFilter.filter_none: No templates will be filtered from the result (all templates will be returned).
Method | is |
Check if the union tag is ``filter_none``. |
Class Variable | filter |
Undocumented |
Method | _process |
Undocumented |
Inherited from TemplateFilterBase
:
Class Method | filter |
Create an instance of this class set to the ``filter_some`` tag with value ``val``. |
Method | get |
Only templates with an ID in the supplied list will be returned (a subset of templates will be returned). |
Method | is |
Check if the union tag is ``filter_some``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | other |
Undocumented |
Class Variable | _catch |
Undocumented |