@@ -856,7 +856,7 @@ def __repr__(self) -> str:
856
856
857
857
858
858
def _symmetric_signature_algorithm_from_dict (
859
- d : Dict [str , Any ]
859
+ d : Dict [str , Any ],
860
860
) -> SymmetricSignatureAlgorithm :
861
861
if "HMAC" in d :
862
862
return SymmetricSignatureAlgorithmHMAC .from_dict (d )
@@ -1504,7 +1504,7 @@ def as_dict(self) -> Dict[str, Any]:
1504
1504
1505
1505
@staticmethod
1506
1506
def from_dict (
1507
- d : Dict [str , Any ]
1507
+ d : Dict [str , Any ],
1508
1508
) -> "KmsEcdhStaticConfigurationsKmsPublicKeyDiscovery" :
1509
1509
if len (d ) != 1 :
1510
1510
raise TypeError (f"Unions may have exactly 1 value, but found { len (d )} " )
@@ -1535,7 +1535,7 @@ def as_dict(self) -> Dict[str, Any]:
1535
1535
1536
1536
@staticmethod
1537
1537
def from_dict (
1538
- d : Dict [str , Any ]
1538
+ d : Dict [str , Any ],
1539
1539
) -> "KmsEcdhStaticConfigurationsKmsPrivateKeyToStaticPublicKey" :
1540
1540
if len (d ) != 1 :
1541
1541
raise TypeError (f"Unions may have exactly 1 value, but found { len (d )} " )
@@ -1591,7 +1591,7 @@ def __repr__(self) -> str:
1591
1591
1592
1592
1593
1593
def _kms_ecdh_static_configurations_from_dict (
1594
- d : Dict [str , Any ]
1594
+ d : Dict [str , Any ],
1595
1595
) -> KmsEcdhStaticConfigurations :
1596
1596
if "KmsPublicKeyDiscovery" in d :
1597
1597
return KmsEcdhStaticConfigurationsKmsPublicKeyDiscovery .from_dict (d )
@@ -3252,7 +3252,7 @@ def as_dict(self) -> Dict[str, Any]:
3252
3252
3253
3253
@staticmethod
3254
3254
def from_dict (
3255
- d : Dict [str , Any ]
3255
+ d : Dict [str , Any ],
3256
3256
) -> "CreateDefaultCryptographicMaterialsManagerInput" :
3257
3257
"""Creates a CreateDefaultCryptographicMaterialsManagerInput from a
3258
3258
dictionary."""
@@ -3630,7 +3630,7 @@ def as_dict(self) -> Dict[str, Any]:
3630
3630
3631
3631
@staticmethod
3632
3632
def from_dict (
3633
- d : Dict [str , Any ]
3633
+ d : Dict [str , Any ],
3634
3634
) -> "RawEcdhStaticConfigurationsRawPrivateKeyToStaticPublicKey" :
3635
3635
if len (d ) != 1 :
3636
3636
raise TypeError (f"Unions may have exactly 1 value, but found { len (d )} " )
@@ -3664,7 +3664,7 @@ def as_dict(self) -> Dict[str, Any]:
3664
3664
3665
3665
@staticmethod
3666
3666
def from_dict (
3667
- d : Dict [str , Any ]
3667
+ d : Dict [str , Any ],
3668
3668
) -> "RawEcdhStaticConfigurationsEphemeralPrivateKeyToStaticPublicKey" :
3669
3669
if len (d ) != 1 :
3670
3670
raise TypeError (f"Unions may have exactly 1 value, but found { len (d )} " )
@@ -3721,7 +3721,7 @@ def __repr__(self) -> str:
3721
3721
3722
3722
3723
3723
def _raw_ecdh_static_configurations_from_dict (
3724
- d : Dict [str , Any ]
3724
+ d : Dict [str , Any ],
3725
3725
) -> RawEcdhStaticConfigurations :
3726
3726
if "PublicKeyDiscovery" in d :
3727
3727
return RawEcdhStaticConfigurationsPublicKeyDiscovery .from_dict (d )
0 commit comments