aiidateam / disk-objectstore

An implementation of an efficient "object store" (actually, a key-value store) writing files on disk and not requiring a running server
https://disk-objectstore.readthedocs.io
MIT License
15 stars 8 forks source link

⬆️ UPGRADE: sqlalchemy v1.4 (v2 API) #114

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

Currently based on top of #113, supersedes #108

Following migration: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html

I noted the count() method is now a bit more complex, but this is explained in: https://github.com/sqlalchemy/sqlalchemy/issues/6794

A few things to double-check:

codecov[bot] commented 3 years ago

Codecov Report

Merging #114 (848a95b) into develop (c0a67a3) will decrease coverage by 0.12%. The diff coverage is 97.50%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #114      +/-   ##
===========================================
- Coverage    99.68%   99.56%   -0.13%     
===========================================
  Files            7        7              
  Lines         1585     1601      +16     
===========================================
+ Hits          1580     1594      +14     
- Misses           5        7       +2     
Impacted Files Coverage Δ
disk_objectstore/container.py 99.39% <95.34%> (-0.25%) :arrow_down:
disk_objectstore/database.py 100.00% <100.00%> (ø)
disk_objectstore/utils.py 99.60% <100.00%> (-0.01%) :arrow_down:

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 c0a67a3...848a95b. Read the comment docs.

chrisjsewell commented 3 years ago

Cheers!