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

[export] Improve export transformation capabilities #146

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

amotl
Copy link
Member

@amotl amotl commented Jun 8, 2023

About

Added new HTTP export API query parameters sort, direction, limit, and scalar.

Example

http "https://swarm.hiveeyes.org/api/hiveeyes/zku/paxcounter/bauschilderung/data.json?from=now-5m&sort=time&direction=desc&limit=1&scalar=pax"

References

Backlog

  • [x] Documentation is missing.

/cc @ClemensGruber

@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.33% 🎉

Comparison is base (5c3c856) 78.26% compared to head (75b6302) 78.59%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
+ Coverage   78.26%   78.59%   +0.33%     
==========================================
  Files          55       55              
  Lines        3009     3014       +5     
==========================================
+ Hits         2355     2369      +14     
+ Misses        654      645       -9     
Flag Coverage Δ
unittests 78.59% <100.00%> (+0.33%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
kotori/io/protocol/target.py 72.04% <100.00%> (+11.12%) ⬆️
kotori/io/protocol/util.py 61.87% <100.00%> (-0.24%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amotl amotl changed the title Improve export capabilities [export] Improve export tranformation capabilities Jun 9, 2023
@amotl amotl changed the title [export] Improve export tranformation capabilities [export] Improve export transformation capabilities Jun 9, 2023
@amotl amotl force-pushed the amo/export-single-value branch 2 times, most recently from a201c6d to 06a7f65 Compare August 14, 2023 00:24
- Add parameters `sort`, `direction`, `limit`, and `scalar`.
- Improve documentation
@amotl amotl marked this pull request as ready for review August 14, 2023 13:22
@amotl amotl merged commit 6c32425 into main Aug 14, 2023
22 checks passed
@amotl amotl deleted the amo/export-single-value branch August 14, 2023 13:23
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.

1 participant