numaproj / numalogic

Collection of operational time series ML models and tools
https://numalogic.numaproj.io/
Apache License 2.0
166 stars 28 forks source link

feat: add multiple save for redis registry #281

Closed s0nicboOm closed 1 year ago

s0nicboOm commented 1 year ago

1) Option to multisave in redis registry 2) support caching for version calls 3) In udfs/ load models using version call instead of latest calls

codecov[bot] commented 1 year ago

Codecov Report

Merging #281 (909a19a) into main (a364721) will increase coverage by 0.24%. The diff coverage is 95.60%.

@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
+ Coverage   92.41%   92.66%   +0.24%     
==========================================
  Files          74       74              
  Lines        3349     3380      +31     
  Branches      267      275       +8     
==========================================
+ Hits         3095     3132      +37     
+ Misses        201      196       -5     
+ Partials       53       52       -1     
Files Changed Coverage Δ
numalogic/udfs/trainer.py 90.15% <78.57%> (+0.75%) :arrow_up:
numalogic/registry/redis_registry.py 97.41% <97.72%> (-0.28%) :arrow_down:
numalogic/connectors/druid.py 86.36% <100.00%> (ø)
numalogic/tools/types.py 93.54% <100.00%> (+0.69%) :arrow_up:
numalogic/udfs/inference.py 94.44% <100.00%> (-0.68%) :arrow_down:
numalogic/udfs/postprocess.py 86.48% <100.00%> (+0.18%) :arrow_up:
numalogic/udfs/preprocess.py 87.80% <100.00%> (+10.02%) :arrow_up:
numalogic/udfs/tools.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more