|
36 | 36 | from okta.models.authenticator_method_property import AuthenticatorMethodProperty |
37 | 37 |
|
38 | 38 | if TYPE_CHECKING: |
39 | | - from okta.models.authenticator_method_with_verifiable_properties import ( |
40 | | - AuthenticatorMethodWithVerifiableProperties, |
41 | | - ) |
42 | | - from okta.models.authenticator_method_with_verifiable_properties import ( |
43 | | - AuthenticatorMethodWithVerifiableProperties, |
44 | | - ) |
45 | 39 | from okta.models.authenticator_method_simple import AuthenticatorMethodSimple |
46 | | - from okta.models.authenticator_method_with_verifiable_properties import ( |
47 | | - AuthenticatorMethodWithVerifiableProperties, |
48 | | - ) |
49 | 40 | from okta.models.authenticator_method_otp import AuthenticatorMethodOtp |
50 | | - from okta.models.authenticator_method_simple import AuthenticatorMethodSimple |
| 41 | + from okta.models.authenticator_method_totp import AuthenticatorMethodTotp |
51 | 42 | from okta.models.authenticator_method_push import AuthenticatorMethodPush |
52 | | - from okta.models.authenticator_method_simple import AuthenticatorMethodSimple |
53 | 43 | from okta.models.authenticator_method_signed_nonce import ( |
54 | 44 | AuthenticatorMethodSignedNonce, |
55 | 45 | ) |
56 | | - from okta.models.authenticator_method_simple import AuthenticatorMethodSimple |
57 | | - from okta.models.authenticator_method_totp import AuthenticatorMethodTotp |
58 | | - from okta.models.authenticator_method_simple import AuthenticatorMethodSimple |
59 | 46 | from okta.models.authenticator_method_web_authn import AuthenticatorMethodWebAuthn |
60 | 47 |
|
61 | 48 |
|
@@ -240,10 +227,10 @@ def from_dict(cls, obj: Dict[str, Any]) -> Optional[ |
240 | 227 | ).AuthenticatorMethodWebAuthn.from_dict(obj) |
241 | 228 |
|
242 | 229 | raise ValueError( |
243 | | - "AuthenticatorMethodWithVerifiableProperties failed to lookup discriminator value from " |
244 | | - + json.dumps(obj) |
245 | | - + ". Discriminator property name: " |
246 | | - + cls.__discriminator_property_name |
247 | | - + ", mapping: " |
248 | | - + json.dumps(cls.__discriminator_value_class_map) |
| 230 | + "AuthenticatorMethodWithVerifiableProperties failed to lookup discriminator value from " + |
| 231 | + json.dumps(obj) + |
| 232 | + ". Discriminator property name: " + |
| 233 | + cls.__discriminator_property_name + |
| 234 | + ", mapping: " + |
| 235 | + json.dumps(cls.__discriminator_value_class_map) |
249 | 236 | ) |
0 commit comments