treams.util.AnnotationDict.__setitem__¶
- AnnotationDict.__setitem__(key, val)¶
Set item specified by key to the defined value.
When overwriting an existing key an
AnnotationWarning
is emitted. Avoid the warning by explicitly deleting the key first.- Parameters:
key (hashable) – Key
val – Value
- Warns:
AnnotationWarning