Skip to content

Commit fd58386

Browse files
committed
these dang formatters
1 parent 4931023 commit fd58386

File tree

2 files changed

+11
-11
lines changed
  • AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated

2 files changed

+11
-11
lines changed

AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_keystore/models.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def as_dict(self) -> Dict[str, Any]:
480480

481481
@staticmethod
482482
def from_dict(
483-
d: Dict[str, Any]
483+
d: Dict[str, Any],
484484
) -> "HierarchicalKeyTypeActiveHierarchicalSymmetricVersion":
485485
if len(d) != 1:
486486
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")
@@ -515,7 +515,7 @@ def as_dict(self) -> Dict[str, Any]:
515515

516516
@staticmethod
517517
def from_dict(
518-
d: Dict[str, Any]
518+
d: Dict[str, Any],
519519
) -> "HierarchicalKeyTypeHierarchicalSymmetricVersion":
520520
if len(d) != 1:
521521
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")
@@ -546,7 +546,7 @@ def as_dict(self) -> Dict[str, Any]:
546546

547547
@staticmethod
548548
def from_dict(
549-
d: Dict[str, Any]
549+
d: Dict[str, Any],
550550
) -> "HierarchicalKeyTypeActiveHierarchicalSymmetricBeacon":
551551
if len(d) != 1:
552552
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")

AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_materialproviders/models.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ def __repr__(self) -> str:
856856

857857

858858
def _symmetric_signature_algorithm_from_dict(
859-
d: Dict[str, Any]
859+
d: Dict[str, Any],
860860
) -> SymmetricSignatureAlgorithm:
861861
if "HMAC" in d:
862862
return SymmetricSignatureAlgorithmHMAC.from_dict(d)
@@ -1504,7 +1504,7 @@ def as_dict(self) -> Dict[str, Any]:
15041504

15051505
@staticmethod
15061506
def from_dict(
1507-
d: Dict[str, Any]
1507+
d: Dict[str, Any],
15081508
) -> "KmsEcdhStaticConfigurationsKmsPublicKeyDiscovery":
15091509
if len(d) != 1:
15101510
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")
@@ -1535,7 +1535,7 @@ def as_dict(self) -> Dict[str, Any]:
15351535

15361536
@staticmethod
15371537
def from_dict(
1538-
d: Dict[str, Any]
1538+
d: Dict[str, Any],
15391539
) -> "KmsEcdhStaticConfigurationsKmsPrivateKeyToStaticPublicKey":
15401540
if len(d) != 1:
15411541
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")
@@ -1591,7 +1591,7 @@ def __repr__(self) -> str:
15911591

15921592

15931593
def _kms_ecdh_static_configurations_from_dict(
1594-
d: Dict[str, Any]
1594+
d: Dict[str, Any],
15951595
) -> KmsEcdhStaticConfigurations:
15961596
if "KmsPublicKeyDiscovery" in d:
15971597
return KmsEcdhStaticConfigurationsKmsPublicKeyDiscovery.from_dict(d)
@@ -3252,7 +3252,7 @@ def as_dict(self) -> Dict[str, Any]:
32523252

32533253
@staticmethod
32543254
def from_dict(
3255-
d: Dict[str, Any]
3255+
d: Dict[str, Any],
32563256
) -> "CreateDefaultCryptographicMaterialsManagerInput":
32573257
"""Creates a CreateDefaultCryptographicMaterialsManagerInput from a
32583258
dictionary."""
@@ -3630,7 +3630,7 @@ def as_dict(self) -> Dict[str, Any]:
36303630

36313631
@staticmethod
36323632
def from_dict(
3633-
d: Dict[str, Any]
3633+
d: Dict[str, Any],
36343634
) -> "RawEcdhStaticConfigurationsRawPrivateKeyToStaticPublicKey":
36353635
if len(d) != 1:
36363636
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")
@@ -3664,7 +3664,7 @@ def as_dict(self) -> Dict[str, Any]:
36643664

36653665
@staticmethod
36663666
def from_dict(
3667-
d: Dict[str, Any]
3667+
d: Dict[str, Any],
36683668
) -> "RawEcdhStaticConfigurationsEphemeralPrivateKeyToStaticPublicKey":
36693669
if len(d) != 1:
36703670
raise TypeError(f"Unions may have exactly 1 value, but found {len(d)}")
@@ -3721,7 +3721,7 @@ def __repr__(self) -> str:
37213721

37223722

37233723
def _raw_ecdh_static_configurations_from_dict(
3724-
d: Dict[str, Any]
3724+
d: Dict[str, Any],
37253725
) -> RawEcdhStaticConfigurations:
37263726
if "PublicKeyDiscovery" in d:
37273727
return RawEcdhStaticConfigurationsPublicKeyDiscovery.from_dict(d)

0 commit comments

Comments
 (0)