This PR changes the behaviour of properties to only show changed fields. The Entity __repr__() function uses _init_properties and overrides them with any changed values from properties. On save, only the fields in properties are posted, along with the version.
This has two advantages:
minimises POST body size
since only the changed fields are now being posted, we don't need the pacing migration code in Campaigns or Strategies.
This PR also removes some deprecated functions, along with basic auth.
This PR changes the behaviour of
properties
to only show changed fields. The Entity__repr__()
function uses_init_properties
and overrides them with any changed values fromproperties
. On save, only the fields inproperties
are posted, along with the version.This has two advantages:
This PR also removes some deprecated functions, along with basic auth.