equal
deleted
inserted
replaced
29 |
29 |
30 class TemplateNotFound(error.Abort): |
30 class TemplateNotFound(error.Abort): |
31 pass |
31 pass |
32 |
32 |
33 |
33 |
34 class wrapped(object): |
34 class wrapped(object): # pytype: disable=ignored-metaclass |
35 """Object requiring extra conversion prior to displaying or processing |
35 """Object requiring extra conversion prior to displaying or processing |
36 as value |
36 as value |
37 |
37 |
38 Use unwrapvalue() or unwrapastype() to obtain the inner object. |
38 Use unwrapvalue() or unwrapastype() to obtain the inner object. |
39 """ |
39 """ |
106 |
106 |
107 A returned value must be serializable by templaterfilters.json(). |
107 A returned value must be serializable by templaterfilters.json(). |
108 """ |
108 """ |
109 |
109 |
110 |
110 |
111 class mappable(object): |
111 class mappable(object): # pytype: disable=ignored-metaclass |
112 """Object which can be converted to a single template mapping""" |
112 """Object which can be converted to a single template mapping""" |
113 |
113 |
114 __metaclass__ = abc.ABCMeta |
114 __metaclass__ = abc.ABCMeta |
115 |
115 |
116 def itermaps(self, context): |
116 def itermaps(self, context): |