itpp-labs/sync-addons

Overriding a route

Opened this issue · 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

namespace = get_namespace_by_name_from_users_namespaces(
authenticated_user, ikwargs["namespace"], raise_exception=True
)

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