Skip to content

Commit 4d4351f

Browse files
committed
mypy
1 parent 76cbf58 commit 4d4351f

File tree

1 file changed

+5
-1
lines changed
  • packages/models-library/src/models_library/api_schemas_webserver

1 file changed

+5
-1
lines changed

packages/models-library/src/models_library/api_schemas_webserver/users.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,11 @@ class MyTokenGet(OutputSchemaWithoutCamelCase):
269269

270270
@classmethod
271271
def from_model(cls, token: UserThirdPartyToken) -> Self:
272-
return cls(service=token.service, token_key=token.token_key, token_secret=None)
272+
return cls(
273+
service=token.service, # type: ignore[arg-type]
274+
token_key=token.token_key, # type: ignore[arg-type]
275+
token_secret=None,
276+
)
273277

274278

275279
#

0 commit comments

Comments
 (0)