ActivityWatch / aw-core

Core library for ActivityWatch
Mozilla Public License 2.0
48 stars 46 forks source link

fix: fixed upserting events using insert_many #108

Closed ErikBjare closed 2 years ago

ErikBjare commented 2 years ago

Should fix the remaining issue in https://github.com/ActivityWatch/activitywatch/issues/615

codecov[bot] commented 2 years ago

Codecov Report

Merging #108 (1198fbf) into master (5dbb610) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   90.79%   90.88%   +0.08%     
==========================================
  Files          34       34              
  Lines        1662     1678      +16     
  Branches      257      267      +10     
==========================================
+ Hits         1509     1525      +16     
  Misses        118      118              
  Partials       35       35              
Impacted Files Coverage Δ
aw_datastore/storages/memory.py 94.28% <100.00%> (+0.84%) :arrow_up:
aw_datastore/storages/peewee.py 99.31% <100.00%> (+0.01%) :arrow_up:
aw_datastore/storages/sqlite.py 96.71% <100.00%> (+0.08%) :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 5dbb610...1198fbf. Read the comment docs.