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

is_removed is now cached #53

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Conversation

pboettch
Copy link
Collaborator

@pboettch pboettch commented Nov 9, 2023

The removed-state of an entity was always fetched from the backend. This causes troubles in multi-threaded environments. Not is_removed is a cache-field of an entity.

@pboettch pboettch requested a review from jeandet November 9, 2023 15:45
@pboettch pboettch force-pushed the is-removed-not-cached branch from 7963b65 to a7b9122 Compare November 9, 2023 15:47
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (aeac82d) 100.00% compared to head (a7b9122) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         1672      1674    +2     
=========================================
+ Hits          1672      1674    +2     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

Files Coverage Δ
tscat/base.py 100.00% <100.00%> (ø)
tscat/orm_sqlalchemy/__init__.py 100.00% <ø> (ø)

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

@jeandet jeandet merged commit aef1627 into SciQLop:main Nov 9, 2023
6 checks passed
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.

2 participants