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

🔧 MAINTAIN: Make types more permissive #121

Closed chrisjsewell closed 2 years ago

chrisjsewell commented 2 years ago

Allow Container folder to be a pathlib.Path, and make hashkeys Sequence[str] rather than just List[str].

codecov[bot] commented 2 years ago

Codecov Report

Merging #121 (274c868) into develop (6259e23) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #121   +/-   ##
========================================
  Coverage    99.52%   99.52%           
========================================
  Files            8        8           
  Lines         1674     1675    +1     
========================================
+ Hits          1666     1667    +1     
  Misses           8        8           
Impacted Files Coverage Δ
disk_objectstore/container.py 99.39% <100.00%> (+<0.01%) :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 6259e23...274c868. Read the comment docs.