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
121 stars 13 forks source link

Adds __map__ functionality #279

Closed ncilfone closed 9 months ago

ncilfone commented 1 year ago

What does this PR do?

Adds map functionality as another post instantiation hook option. This allows you to directly map spock configs to object creation etc. automatically upon creation. Additional docs and tests

Checklist

ncilfone commented 9 months ago

Merged in fix for #296 - fixed tests to remove the r+w check since default is now changed to not check privs

ncilfone commented 9 months ago

@mmalouane This is the new PR that will cover #296 as well. Can you review and merge and release to help unblock this: https://github.com/fidelity/spock/pull/297#issuecomment-1792392195

coveralls commented 9 months ago

Pull Request Test Coverage Report for Build 6746688429


Totals Coverage Status
Change from base Build 6746625954: 0.006%
Covered Lines: 3520
Relevant Lines: 3542

💛 - Coveralls
ncilfone commented 9 months ago

@mmalouane Ignore the failing build on 3.6 since we are deprecating support -- I think that one is stuck somehow. You should be able to force the merge as along as all the other tests pass