Skip to content
New issue

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

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

Already on GitHub? # 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 · May be fixed by #911
Open

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

k1o0 opened this issue Nov 28, 2020 · 1 comment · May be fixed by #911
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

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

Successfully merging a pull request may close this issue.

4 participants