def get_deprecations(self): """Return any matching deprecations for the policy fields itself.""" return deprecated.check_deprecations(self, "policy")
def get_deprecations(self): # The execution mode itself doesn't have a data dict, so we grab the # mode part from the policy data dict itself. return deprecated.check_deprecations(self, data=self.policy.data.get( 'mode', {}))
def get_deprecations(self): """Return any matching deprecations for the resource itself.""" return deprecated.check_deprecations(self)