Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow is_span and is_audio_span to process entries in primitive form #901

Open
Pushkar-Bhuse opened this issue Aug 25, 2022 · 0 comments
Open

Comments

@Pushkar-Bhuse
Copy link
Collaborator

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.

  1. Modify each conditional branch of the methods to handle entries of the type Dict[str, Any]
  2. Create new methods in_span_raw and in_audio_span_raw which would specifically be focused on handling entries of type Dict[str,Any].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants