class prefix_anon_map(dict):
A map that creates new keys for missing key access.
Considers keys of the form "<ident> <name>" to produce new symbols "<name>_<index>", where "index" is an incrementing integer corresponding to <name>.
Inlines the approach taken by sqlalchemy.util.PopulateDict
which
is otherwise usually used for this type of operation.
Method | __missing__ |
Undocumented |