Skip to content

Commit f0f7d79

Browse files
committed
Ignore unused-ignore in python<=3.12
1 parent df2eba6 commit f0f7d79

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/workos/types/fga/warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class FGABaseWarning(WorkOSModel):
1212
message: str
1313

1414

15-
class MissingContextKeysWarning(FGABaseWarning): # type: ignore[override]
15+
class MissingContextKeysWarning(FGABaseWarning): # type: ignore[override, unused-ignore]
1616
code: Literal["missing_context_keys"]
1717
keys: Sequence[str]
1818

src/workos/types/mfa/authentication_factor.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
from typing import Literal, Optional, Union
22

3-
from workos.types.workos_model import WorkOSModel
43
from workos.types.mfa.enroll_authentication_factor_type import (
54
SmsAuthenticationFactorType,
65
TotpAuthenticationFactorType,
76
)
7+
from workos.types.workos_model import WorkOSModel
88
from workos.typing.literals import LiteralOrUntyped
99

10-
1110
AuthenticationFactorType = Literal[
1211
"generic_otp", SmsAuthenticationFactorType, TotpAuthenticationFactorType
1312
]
@@ -43,21 +42,21 @@ class AuthenticationFactorBase(WorkOSModel):
4342
user_id: Optional[str] = None
4443

4544

46-
class AuthenticationFactorTotp(AuthenticationFactorBase): # type: ignore[override]
45+
class AuthenticationFactorTotp(AuthenticationFactorBase): # type: ignore[override, unused-ignore]
4746
"""Representation of a MFA Authentication Factor Response as returned by WorkOS through the MFA feature."""
4847

4948
type: TotpAuthenticationFactorType
5049
totp: TotpFactor
5150

5251

53-
class AuthenticationFactorTotpExtended(AuthenticationFactorBase): # type: ignore[override]
52+
class AuthenticationFactorTotpExtended(AuthenticationFactorBase): # type: ignore[override, unused-ignore]
5453
"""Representation of a MFA Authentication Factor Response when enrolling an authentication factor."""
5554

5655
type: TotpAuthenticationFactorType
5756
totp: ExtendedTotpFactor
5857

5958

60-
class AuthenticationFactorSms(AuthenticationFactorBase): # type: ignore[override]
59+
class AuthenticationFactorSms(AuthenticationFactorBase): # type: ignore[override, unused-ignore]
6160
"""Representation of a SMS Authentication Factor Response as returned by WorkOS through the MFA feature."""
6261

6362
type: SmsAuthenticationFactorType

0 commit comments

Comments
 (0)