redis / redis-om-python

Object mapping, and more, for Redis and Python
MIT License
1.12k stars 112 forks source link

Support time points as numeric indexes #240

Open moznuy opened 2 years ago

moznuy commented 2 years ago

This is a rough draft

What's is implemented:

What can be added / improved:

Questions:

Problems:

Sketchy things:

Fixes #199

codecov-commenter commented 2 years ago

Codecov Report

Merging #240 (97c617c) into main (c2339b3) will increase coverage by 0.36%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
+ Coverage   77.25%   77.61%   +0.36%     
==========================================
  Files          12       12              
  Lines        1165     1184      +19     
==========================================
+ Hits          900      919      +19     
  Misses        265      265              
Flag Coverage Δ
unit 77.61% <100.00%> (+0.36%) :arrow_up:

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

Impacted Files Coverage Δ
aredis_om/model/encoders.py 59.77% <100.00%> (+8.38%) :arrow_up:
aredis_om/model/model.py 86.33% <100.00%> (+0.06%) :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 c2339b3...97c617c. Read the comment docs.

moznuy commented 2 years ago

Any input will be appreciated