MediaMath / t1-python

Python SDK for MediaMath Platform APIs
https://developer.mediamath.com/
Apache License 2.0
18 stars 30 forks source link

only post changed fields #129

Closed FodT closed 7 years ago

FodT commented 7 years ago

Implement support for only posting back the changed fields when saving an entity. This will reduce network overhead and will also give some advantages like reverting unintended field changes.

can be done by instantiating a dict of reference fields in Entity __init__(), and comparing on save().

This will also simplify the _migration_asst() functions in Campaign and Strategy written for the spend cap and pacing migrations, which do this in a limited scope.

FodT commented 7 years ago

resolved by #130