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

Updates search endpoints to use the new observed column #35

Merged
merged 5 commits into from
Aug 2, 2024
Merged

Conversation

havok2063
Copy link
Contributor

@havok2063 havok2063 commented Aug 2, 2024

This PR closes #29. It updates the append_pipes query to also return the new has_been_observed column, and allows for filtering results based on the new column. The default is set to True, to always filter for only observed targets. It updates the cone search (/query/cone) endpoint and the main search (/query/main) endpoint, to use the new observed column.

Currently requires the latest main of sdssdb to use.

@havok2063 havok2063 added the enhancement New feature or request label Aug 2, 2024
@havok2063 havok2063 self-assigned this Aug 2, 2024
@havok2063
Copy link
Contributor Author

Should this condition also apply to the other endpoints? e.g. the carton/program search, or target search by catalogid?

@havok2063
Copy link
Contributor Author

Should this condition also apply to the other endpoints? e.g. the carton/program search, or target search by catalogid?

Updated to include carton/program searches

@havok2063 havok2063 merged commit 44e73ae into main Aug 2, 2024
2 checks passed
@havok2063 havok2063 deleted the observed branch September 18, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add or update the main search for a new observed column
1 participant