Is your feature request related to a problem? Please describe.
Currently, the in_span and in_audio_span methods only handle entries of type Union[int, Entry]. We want to allow these methods to also handle entries that are stored in a dictionary form according to the interface suggested in #900.
Describe the solution you'd like
There are two ways in which this problem can be approached.
Modify each conditional branch of the methods to handle entries of the type Dict[str, Any]
Create new methods in_span_raw and in_audio_span_raw which would specifically be focused on handling entries of type Dict[str,Any].
Is your feature request related to a problem? Please describe. Currently, the
in_span
andin_audio_span
methods only handle entries of typeUnion[int, Entry]
. We want to allow these methods to also handle entries that are stored in a dictionary form according to the interface suggested in #900.Describe the solution you'd like There are two ways in which this problem can be approached.
Dict[str, Any]
in_span_raw
andin_audio_span_raw
which would specifically be focused on handling entries of typeDict[str,Any]
.