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

Start of Node namespace reorganization #5472

Merged
merged 4 commits into from
Apr 6, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Apr 6, 2022

Following results of discussion #5465

@codecov
Copy link

codecov bot commented Apr 6, 2022

Codecov Report

Merging #5472 (cf7d9a2) into develop (47af5b1) will increase coverage by 0.04%.
The diff coverage is 91.25%.

❗ Current head cf7d9a2 differs from pull request most recent head 5f98acb. Consider uploading reports for the commit 5f98acb to get more accurate results

@@             Coverage Diff             @@
##           develop    #5472      +/-   ##
===========================================
+ Coverage    79.59%   79.63%   +0.04%     
===========================================
  Files          517      517              
  Lines        37044    37040       -4     
===========================================
+ Hits         29483    29493      +10     
+ Misses        7561     7547      -14     
Impacted Files Coverage Δ
aiida/common/json.py 0.00% <0.00%> (ø)
aiida/manage/manager.py 83.84% <0.00%> (-0.08%) ⬇️
aiida/orm/__init__.py 100.00% <ø> (ø)
aiida/orm/implementation/storage_backend.py 93.34% <ø> (ø)
aiida/orm/nodes/__init__.py 100.00% <ø> (ø)
aiida/orm/querybuilder.py 84.61% <0.00%> (ø)
aiida/repository/backend/abstract.py 98.56% <ø> (ø)
aiida/tools/archive/create.py 93.78% <ø> (ø)
aiida/manage/tests/pytest_fixtures.py 87.88% <25.00%> (-0.12%) ⬇️
aiida/manage/tests/main.py 86.20% <50.00%> (-0.06%) ⬇️
... and 21 more

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 47af5b1...5f98acb. Read the comment docs.

sphuber and others added 2 commits April 6, 2022 11:07
All deprecation warning should now use `warn_deprecation` with the
correct version number of when the deprecated resource will be removed,
instead of using `warnings.warn` directly.
This is a pre-cursor to moving methods off of the `Node` top level
namespace.
@sphuber sphuber force-pushed the fix/reorganize-node-namespace branch 2 times, most recently from 867c9e6 to f338282 Compare April 6, 2022 09:21
@sphuber sphuber requested a review from chrisjsewell April 6, 2022 09:21
Copy link
Member

@chrisjsewell chrisjsewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait you haven't renamed ctx to base yet no?

@sphuber sphuber force-pushed the fix/reorganize-node-namespace branch from f338282 to 5f98acb Compare April 6, 2022 09:35
@sphuber
Copy link
Contributor Author

sphuber commented Apr 6, 2022

@chrisjsewell yeah of course, forgot that part. Should be good now

@sphuber sphuber requested a review from chrisjsewell April 6, 2022 09:43
@sphuber sphuber changed the title Reorganize node namespace Start of Node namespace reorganization Apr 6, 2022
Copy link
Member

@chrisjsewell chrisjsewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats the one

@sphuber sphuber merged commit 8293e45 into develop Apr 6, 2022
@sphuber sphuber deleted the fix/reorganize-node-namespace branch April 6, 2022 10:04
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