예제 #1
0
 def get_deprecations(self):
     """Return any matching deprecations for the policy fields itself."""
     return deprecated.check_deprecations(self, "policy")
예제 #2
0
 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', {}))
예제 #3
0
 def get_deprecations(self):
     """Return any matching deprecations for the resource itself."""
     return deprecated.check_deprecations(self)