Metron-Project / mokkari

Python wrapper for Metron API
GNU General Public License v3.0
9 stars 1 forks source link

Set rate limit to 25/minute #17

Closed bpepple closed 2 years ago

bpepple commented 2 years ago

Also add some code to add requests retry.

codecov-commenter commented 2 years ago

Codecov Report

Merging #17 (af76d42) into main (11d42d2) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   97.82%   97.84%   +0.01%     
==========================================
  Files          12       12              
  Lines         552      557       +5     
==========================================
+ Hits          540      545       +5     
  Misses         12       12              
Flag Coverage Δ
unittests 97.84% <100.00%> (+0.01%) :arrow_up:

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

Impacted Files Coverage Δ
mokkari/session.py 94.44% <100.00%> (+0.17%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 11d42d2...af76d42. Read the comment docs.