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

[Feature/11] Added cache on graph path calculations #12

Merged

Conversation

rafaelcassau
Copy link
Collaborator

Add two new static methods get_ancestors and get_descendants to cache previous calculed path when the graph and the status are the same.

@rafaelcassau rafaelcassau self-assigned this Jun 14, 2019
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #12 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #12   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines          53     60    +7     
=====================================
+ Hits           53     60    +7
Impacted Files Coverage Δ
status_map/__init__.py 100% <100%> (ø) ⬆️

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 32234dc...79328ed. Read the comment docs.

@lamenezes
Copy link
Owner

@rafaelcassau thanks for your PR! It looks great! 🎉 〽️

Fixes #11

@lamenezes lamenezes merged commit f512374 into lamenezes:master Jun 17, 2019
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