fidelity / spock

spock is a framework that helps manage complex parameter configurations during research and development of Python applications
https://fidelity.github.io/spock/
Apache License 2.0
122 stars 13 forks source link

Evolve Functionality #211

Closed ncilfone closed 2 years ago

ncilfone commented 2 years ago

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

Review

Request will go to reviewers to approve for merge.

coveralls commented 2 years ago

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


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

💛 - Coveralls