Set the meta field for a key to a new value. This triggers the on-change handler for existing keys.
(self, key, metafield, value)
| 2170 | return self._meta.get(key, {}).get(metafield, default) |
| 2171 | |
| 2172 | def meta_set(self, key, metafield, value): |
| 2173 | ''' Set the meta field for a key to a new value. This triggers the |
| 2174 | on-change handler for existing keys. ''' |
| 2175 | self._meta.setdefault(key, {})[metafield] = value |
| 2176 | if key in self: |
| 2177 | self[key] = self[key] |
| 2178 | |
| 2179 | def meta_list(self, key): |
| 2180 | ''' Return an iterable of meta field names defined for a key. ''' |