Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NSETM-2310] Allow to use the cache in readonly mode #36

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

GianlucaFicarelli
Copy link
Collaborator

New Features:

  • Add cache_config.readonly, to be able to use an existing cache without exclusive locking [NSETM-2310].
  • Add cache_config.store_type, to change the file format (experimental).
  • Add cache_config.skip_features, to skip writing the features DataFrames (not implemented yet).

Deprecations:

  • Deprecate output, use cache_config.path instead.
  • Deprecate clear_cache, use cache_config.clear instead.

@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2024

Codecov Report

Attention: Patch coverage is 79.56204% with 28 lines in your changes are missing coverage. Please review.

Project coverage is 91.62%. Comparing base (e6dfe33) to head (f852338).

Files Patch % Lines
src/blueetl/config/analysis_model.py 66.66% 9 Missing and 3 partials ⚠️
src/blueetl/cache.py 87.87% 6 Missing and 2 partials ⚠️
src/blueetl/apps/migrate.py 66.66% 1 Missing and 3 partials ⚠️
src/blueetl/config/analysis.py 73.33% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   92.01%   91.62%   -0.39%     
==========================================
  Files          45       45              
  Lines        2543     2628      +85     
  Branches      506      535      +29     
==========================================
+ Hits         2340     2408      +68     
- Misses        128      137       +9     
- Partials       75       83       +8     
Flag Coverage Δ
pytest 91.62% <79.56%> (-0.39%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Other:
- Move the cache parameters to the dictionary ``cache``
- Add additional cache parameters
@GianlucaFicarelli GianlucaFicarelli changed the base branch from multi_index to main April 19, 2024 10:27
@GianlucaFicarelli GianlucaFicarelli marked this pull request as ready for review April 19, 2024 10:28
@GianlucaFicarelli GianlucaFicarelli merged commit 53bce0b into main Apr 22, 2024
8 checks passed
@GianlucaFicarelli GianlucaFicarelli deleted the readonly branch April 22, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants