bidsbuilder.util.categoryDict¶
- class WatchableDict¶
Bases:
object- __init__(initial=None)¶
- get(key, default=None)¶
- items()¶
- keys()¶
- on_change(key, callback)¶
- class categoryDict¶
Bases:
objectwas planning on making a modified dict with key: (category, value) pairs, modifying setattr and getattr to only return the value, apart from a special getter getting both but this would only be used for json files and metadata, so will just implement this directly there…
- CATEGORY = 0¶
- VALUE = 1¶
- __init__()¶
- items()¶
- keys()¶
- pop(key)¶
- values()¶