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

Feature/issue 54 #55

Merged
merged 10 commits into from
Dec 6, 2023
Merged

Feature/issue 54 #55

merged 10 commits into from
Dec 6, 2023

Conversation

vggonzal
Copy link
Contributor

@vggonzal vggonzal commented Dec 6, 2023

Github Issue: #54

Description

Fix the format of the output

Overview of work done

Unify both csv and geojson output:
{
"status": "200 OK",
"time": "219.917 ms.",
"hits": 3
"results": {
"csv": "CSV FORMATTED DATA IF CSV REQUESTED, EMPTY STRING OTHERWISE",
"geojson": DATA AS GEOJSON FEATURECOLLECITON IF GEOJSON REQUESTED, EMPTY OBJECT OTHERWISE
}
}

Overview of verification done

Unit tests

Overview of integration done

NA

PR checklist:

  • Linted
  • Updated unit tests
  • Updated changelog
  • Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

Base automatically changed from feature/issue-45 to develop December 6, 2023 18:26
# Conflicts:
#	hydrocron/api/controllers/timeseries.py
#	tests/test_api.py
@frankinspace frankinspace merged commit 6543b49 into develop Dec 6, 2023
4 of 5 checks passed
@frankinspace frankinspace deleted the feature/issue-54 branch December 6, 2023 23:17
@vggonzal vggonzal mentioned this pull request Dec 7, 2023
4 tasks
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

Successfully merging this pull request may close these issues.

Structure of object returned is different between csv and geojson output
2 participants