Closed dconathan closed 6 years ago
Note that this is purely syntatic sugar on top of old api... should be 100% backwards compatible.
It looks good to me. Liam - can you take a look over this to confirm?
LGTM! I'd advise putting tests of the Collections stuff in test_collection.py
, since that's where all the other tests for Collection
are currently.
Have we gone and moved all the old apps to using this? I would want that done before putting it into a release.
Not afaik. I'd ping Devin.
Liam
On Wed, Oct 25, 2017 at 1:25 PM, Lalit Jain notifications@github.com wrote:
Have we gone and moved all the old apps to using this? I would want that done before putting it into a release.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nextml/NEXT/pull/208#issuecomment-339424994, or mute the thread https://github.com/notifications/unsubscribe-auth/AEa8SeFpt6QofgcGg7whmuQEtLpTYRmZks5sv30CgaJpZM4PSBEQ .
Old apps were not updated. This was a backwards compatible change.
Allows you to use dict-like api for Collections. e.g.
butler.experiment["foo"] = "bar"
instead ofbutler.experiment.set(key="foo", value="bar")
.New tests in Tests app to test this.
I also refactored the Tests app a little more. It probably could be cleaned up a bunch more to do more unit test-y things but it's good for now.