sync-addons icon indicating copy to clipboard operation
sync-addons copied to clipboard

Overriding a route

Open sluggogle opened this issue 2 years ago • 0 comments

These lines make it impossible to override an endpoint and call the parent by super() because parameters will be in iargs and not kwargs https://github.com/itpp-labs/sync-addons/blob/0593839e603a35708a577f692917461d00657431/openapi/controllers/pinguin.py#L353-L355

Also, when overriding we only want to log data for the overriding method and not the parent so we can skip defining data_for_log when kwargs is empty

sluggogle avatar Aug 11 '23 15:08 sluggogle