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

Evolve Functionality #211

Merged
merged 2 commits into from
Jan 25, 2022
Merged

Evolve Functionality #211

merged 2 commits into from
Jan 25, 2022

Conversation

ncilfone
Copy link
Contributor

What does this PR do?

added evolve functionality similar to the underlying attrs lib that allows you to evolve the underlying Spockspace and return a new Spockspace object with the requested deltas. The evolve interface takes in instantiated @spock decorated classes and uses the deltas to evolve the underling attrs classes.

Added unit tests to cover new functionality

Checklist

  • Did you adhere to PEP-8 standards?
  • Did you run black and isort prior to submitting your PR?
  • Does your PR pass all existing unit tests?
  • Did you add associated unit tests for any additional functionality?
  • Did you provide documentation (Google Docstring format) whenever possible, even for simple functions or classes?

Review

Request will go to reviewers to approve for merge.

…ou to evolve the underlying Spockspace and return a new Spockspace object with the requested deltas. The interface takes in instantiated decorated classes and uses the deltas to evolve the underling attrs classes.
@ncilfone ncilfone added the enhancement New feature or request label Jan 25, 2022
@ncilfone ncilfone self-assigned this Jan 25, 2022
@coveralls
Copy link

coveralls commented Jan 25, 2022

Pull Request Test Coverage Report for Build 1747907545

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 75 of 75 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 96.15%

Totals Coverage Status
Change from base Build 1740578141: 0.3%
Covered Lines: 1773
Relevant Lines: 1844

💛 - Coveralls

@ncilfone ncilfone merged commit 8ed2f75 into master Jan 25, 2022
@ncilfone ncilfone deleted the evolve branch January 25, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants