Run black on moto & test directories.
This commit is contained in:
parent
c820395dbf
commit
96e5b1993d
507 changed files with 52541 additions and 47814 deletions
|
|
@ -10,8 +10,7 @@ class ResourceNotFoundException(SecretsManagerClientError):
|
|||
def __init__(self, message):
|
||||
self.code = 404
|
||||
super(ResourceNotFoundException, self).__init__(
|
||||
"ResourceNotFoundException",
|
||||
message,
|
||||
"ResourceNotFoundException", message
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -21,7 +20,7 @@ class SecretNotFoundException(SecretsManagerClientError):
|
|||
self.code = 404
|
||||
super(SecretNotFoundException, self).__init__(
|
||||
"ResourceNotFoundException",
|
||||
message=u"Secrets Manager can\u2019t find the specified secret."
|
||||
message="Secrets Manager can\u2019t find the specified secret.",
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -31,35 +30,32 @@ class SecretHasNoValueException(SecretsManagerClientError):
|
|||
self.code = 404
|
||||
super(SecretHasNoValueException, self).__init__(
|
||||
"ResourceNotFoundException",
|
||||
message=u"Secrets Manager can\u2019t find the specified secret "
|
||||
u"value for staging label: {}".format(version_stage)
|
||||
message="Secrets Manager can\u2019t find the specified secret "
|
||||
"value for staging label: {}".format(version_stage),
|
||||
)
|
||||
|
||||
|
||||
class ClientError(SecretsManagerClientError):
|
||||
def __init__(self, message):
|
||||
super(ClientError, self).__init__(
|
||||
'InvalidParameterValue',
|
||||
message)
|
||||
super(ClientError, self).__init__("InvalidParameterValue", message)
|
||||
|
||||
|
||||
class InvalidParameterException(SecretsManagerClientError):
|
||||
def __init__(self, message):
|
||||
super(InvalidParameterException, self).__init__(
|
||||
'InvalidParameterException',
|
||||
message)
|
||||
"InvalidParameterException", message
|
||||
)
|
||||
|
||||
|
||||
class ResourceExistsException(SecretsManagerClientError):
|
||||
def __init__(self, message):
|
||||
super(ResourceExistsException, self).__init__(
|
||||
'ResourceExistsException',
|
||||
message
|
||||
"ResourceExistsException", message
|
||||
)
|
||||
|
||||
|
||||
class InvalidRequestException(SecretsManagerClientError):
|
||||
def __init__(self, message):
|
||||
super(InvalidRequestException, self).__init__(
|
||||
'InvalidRequestException',
|
||||
message)
|
||||
"InvalidRequestException", message
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue