Skip to content

fix: Add type hinting allowing Callable[[], "AsyncEngine"] as sql_eng…

f39d8fd
Select commit
Loading
Failed to load commit list.
Merged

Restrict decorating async methods with sync enignes of Redis, Mongo and SQL cores #336

fix: Add type hinting allowing Callable[[], "AsyncEngine"] as sql_eng…
f39d8fd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 17, 2026 in 0s

100.00% (+0.14%) compared to fdd521c

View this Pull Request on Codecov

100.00% (+0.14%) compared to fdd521c

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fdd521c) to head (f39d8fd).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #336      +/-   ##
===========================================
+ Coverage   99.85%   100.00%   +0.14%     
===========================================
  Files          11        11              
  Lines        1382      1477      +95     
  Branches      175       185      +10     
===========================================
+ Hits         1380      1477      +97     
+ Misses          1         0       -1     
+ Partials        1         0       -1     
Files with missing lines Coverage Δ
src/cachier/core.py 100.00% <100.00%> (ø)
src/cachier/cores/mongo.py 100.00% <100.00%> (ø)
src/cachier/cores/redis.py 100.00% <100.00%> (ø)
src/cachier/cores/sql.py 100.00% <100.00%> (+1.68%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdd521c...f39d8fd. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.