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

sessions endpoint returns sessions where datasets don't exist on Flatiron #670

Open
k1o0 opened this issue Nov 28, 2020 · 1 comment
Open
Assignees

Comments

@k1o0
Copy link
Collaborator

k1o0 commented Nov 28, 2020

We want to use the sessions endpoint to find sessions where a given list of dataset types exist on Flatiron. Currently this is not the case.

From @oliche:

I think the issue comes from the fact that the dataset_type filter on the session endpoint does not enforce the exist flag, unlike the dataset serializer in the session endpoint.
This consistency issue needs fixing in the custom filter (actions.views I think)

@k1o0 k1o0 closed this as completed Aug 19, 2021
@k1o0 k1o0 reopened this Jan 14, 2025
@k1o0
Copy link
Collaborator Author

k1o0 commented Jan 14, 2025

This appears to still be an issue. Sessions with no datasets where exist=True are returned when using the datasets filter. For example GET /sessions?datasets=_iblrig_taskSettings.raw.json&date_range=2025-01-01%2C2025-01-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants