Update one or more templates from a dict or from input keyword arguments. Parameters ---------- d: dict Dictionary from template names to new template values. kwargs Named argument value pairs where the name is a template nam
(self, d={}, **kwargs)
| 116 | return self._templates.items() |
| 117 | |
| 118 | def update(self, d={}, **kwargs): |
| 119 | """ |
| 120 | Update one or more templates from a dict or from input keyword |
| 121 | arguments. |
| 122 | |
| 123 | Parameters |
| 124 | ---------- |
| 125 | d: dict |
| 126 | Dictionary from template names to new template values. |
| 127 | |
| 128 | kwargs |
| 129 | Named argument value pairs where the name is a template name |
| 130 | and the value is a new template value. |
| 131 | """ |
| 132 | for k, v in dict(d, **kwargs).items(): |
| 133 | self[k] = v |
| 134 | |
| 135 | # ### Properties ### |
| 136 | @property |
no test coverage detected