|
99 | 99 |
|
100 | 100 | @wrapt.decorator
|
101 | 101 | def intercept_exception(wrapped, instance, args, kwargs):
|
102 |
| - """Handle Exceptions.""" |
| 102 | + """Handle Exceptions.""" # noqa: D202 |
103 | 103 |
|
104 | 104 | def _handle_unknown_exception(ex):
|
105 | 105 | """Handle unknown exceptions."""
|
@@ -420,7 +420,7 @@ class CatalogProxy(BaseProxy):
|
420 | 420 | """Proxy object to :py:attr:`<hpecp.client.catalog>`."""
|
421 | 421 |
|
422 | 422 | def __init__(self):
|
423 |
| - """Initiate this proxy class with the client module name.""" |
| 423 | + """Create instance of proxy class with the client module name.""" |
424 | 424 | super(CatalogProxy, self).new_instance("catalog", Catalog)
|
425 | 425 |
|
426 | 426 | def __dir__(self):
|
@@ -530,7 +530,7 @@ def __dir__(self):
|
530 | 530 | ]
|
531 | 531 |
|
532 | 532 | def __init__(self):
|
533 |
| - """Initiate this proxy class with the client module name.""" |
| 533 | + """Create instance of proxy class with the client module name.""" |
534 | 534 | super(GatewayProxy, self).new_instance("gateway", Gateway)
|
535 | 535 |
|
536 | 536 | @intercept_exception
|
@@ -609,7 +609,7 @@ def __dir__(self):
|
609 | 609 | ]
|
610 | 610 |
|
611 | 611 | def __init__(self):
|
612 |
| - """Initiate this proxy class with the client module name.""" |
| 612 | + """Create instance of proxy class with the client module name.""" |
613 | 613 | super(K8sWorkerProxy, self).new_instance("k8s_worker", WorkerK8s)
|
614 | 614 |
|
615 | 615 | @intercept_exception
|
@@ -720,7 +720,7 @@ def __dir__(self):
|
720 | 720 | ]
|
721 | 721 |
|
722 | 722 | def __init__(self):
|
723 |
| - """Initiate this proxy class with the client module name.""" |
| 723 | + """Create instance of proxy class with the client module name.""" |
724 | 724 | super(K8sClusterProxy, self).new_instance("k8s_cluster", K8sCluster)
|
725 | 725 |
|
726 | 726 | @intercept_exception
|
@@ -929,7 +929,7 @@ def __dir__(self):
|
929 | 929 | ]
|
930 | 930 |
|
931 | 931 | def __init__(self):
|
932 |
| - """Initiate this proxy class with the client module name.""" |
| 932 | + """Create instance of proxy class with the client module name.""" |
933 | 933 | super(TenantProxy, self).new_instance("tenant", Tenant)
|
934 | 934 |
|
935 | 935 | @intercept_exception
|
@@ -1307,7 +1307,7 @@ def __dir__(self):
|
1307 | 1307 | return ["create", "get", "delete", "examples", "list"]
|
1308 | 1308 |
|
1309 | 1309 | def __init__(self):
|
1310 |
| - """Initiate this proxy class with the client module name.""" |
| 1310 | + """Create instance of proxy class with the client module name.""" |
1311 | 1311 | super(UserProxy, self).new_instance("user", User)
|
1312 | 1312 |
|
1313 | 1313 | @intercept_exception
|
@@ -1349,7 +1349,7 @@ def __dir__(self):
|
1349 | 1349 | return ["delete", "examples", "get", "list"]
|
1350 | 1350 |
|
1351 | 1351 | def __init__(self):
|
1352 |
| - """Initiate this proxy class with the client module name.""" |
| 1352 | + """Create instance of proxy class with the client module name.""" |
1353 | 1353 | super(RoleProxy, self).new_instance("role", Role)
|
1354 | 1354 |
|
1355 | 1355 | def examples(self):
|
|
0 commit comments