Lints.
This commit is contained in:
parent
1433f28846
commit
f37bad0e00
260 changed files with 6363 additions and 3766 deletions
|
|
@ -5,6 +5,7 @@ from werkzeug.exceptions import BadRequest
|
|||
|
||||
|
||||
class RedshiftClientError(BadRequest):
|
||||
|
||||
def __init__(self, code, message):
|
||||
super(RedshiftClientError, self).__init__()
|
||||
self.description = json.dumps({
|
||||
|
|
@ -18,6 +19,7 @@ class RedshiftClientError(BadRequest):
|
|||
|
||||
|
||||
class ClusterNotFoundError(RedshiftClientError):
|
||||
|
||||
def __init__(self, cluster_identifier):
|
||||
super(ClusterNotFoundError, self).__init__(
|
||||
'ClusterNotFound',
|
||||
|
|
@ -25,6 +27,7 @@ class ClusterNotFoundError(RedshiftClientError):
|
|||
|
||||
|
||||
class ClusterSubnetGroupNotFoundError(RedshiftClientError):
|
||||
|
||||
def __init__(self, subnet_identifier):
|
||||
super(ClusterSubnetGroupNotFoundError, self).__init__(
|
||||
'ClusterSubnetGroupNotFound',
|
||||
|
|
@ -32,6 +35,7 @@ class ClusterSubnetGroupNotFoundError(RedshiftClientError):
|
|||
|
||||
|
||||
class ClusterSecurityGroupNotFoundError(RedshiftClientError):
|
||||
|
||||
def __init__(self, group_identifier):
|
||||
super(ClusterSecurityGroupNotFoundError, self).__init__(
|
||||
'ClusterSecurityGroupNotFound',
|
||||
|
|
@ -39,6 +43,7 @@ class ClusterSecurityGroupNotFoundError(RedshiftClientError):
|
|||
|
||||
|
||||
class ClusterParameterGroupNotFoundError(RedshiftClientError):
|
||||
|
||||
def __init__(self, group_identifier):
|
||||
super(ClusterParameterGroupNotFoundError, self).__init__(
|
||||
'ClusterParameterGroupNotFound',
|
||||
|
|
@ -46,6 +51,7 @@ class ClusterParameterGroupNotFoundError(RedshiftClientError):
|
|||
|
||||
|
||||
class InvalidSubnetError(RedshiftClientError):
|
||||
|
||||
def __init__(self, subnet_identifier):
|
||||
super(InvalidSubnetError, self).__init__(
|
||||
'InvalidSubnet',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue