You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present I have resorted to also inheriting from dict in my class, but it would be good if this check could be improved (perhaps also test for Mapping interface conformity).
The text was updated successfully, but these errors were encountered:
I have a 'dict' like class that actually implements the Python
collections.MutableMapping
interface. However, pystache will not render templates correctly with this object as it is not considered adict
by the check in_get_value
(https://github.com/defunkt/pystache/blob/master/pystache/context.py#L46).At present I have resorted to also inheriting from
dict
in my class, but it would be good if this check could be improved (perhaps also test forMapping
interface conformity).The text was updated successfully, but these errors were encountered: