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

Add validate_table_existence to abstract SettingsManager #5236

Merged
merged 3 commits into from
Dec 7, 2021

Conversation

ramirezfranciscof
Copy link
Member

The BackendManager was using the validate_table_existence from its
SettingsManager member, but this method was not defined in the abstract
class. It was present in both backends implementations, but there would
be nothing requiring from the abstract parent class.

This is mostly a "formal" quickfix.

@codecov
Copy link

codecov bot commented Nov 22, 2021

Codecov Report

Merging #5236 (103ac95) into develop (1890bab) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5236      +/-   ##
===========================================
+ Coverage    81.38%   81.39%   +0.01%     
===========================================
  Files          529      529              
  Lines        37008    37009       +1     
===========================================
+ Hits         30116    30118       +2     
+ Misses        6892     6891       -1     
Flag Coverage Δ
django 76.88% <100.00%> (+0.01%) ⬆️
sqlalchemy 75.80% <100.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
aiida/backends/manager.py 70.00% <100.00%> (+0.31%) ⬆️
aiida/transports/plugins/local.py 81.66% <0.00%> (+0.26%) ⬆️

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 1890bab...103ac95. Read the comment docs.

The `BackendManager` was using the `validate_table_existence` from its
`SettingsManager` member, but this method was not defined in the abstract
class. It was present in both backends implementations, but there would
be nothing requiring from the abstract parent class.

This is mostly a "formal" quickfix.
@chrisjsewell chrisjsewell merged commit 0682f14 into aiidateam:develop Dec 7, 2021
@ramirezfranciscof ramirezfranciscof deleted the abstract_missing branch February 25, 2022 16:57
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