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