We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cbf58 commit 4d4351fCopy full SHA for 4d4351f
packages/models-library/src/models_library/api_schemas_webserver/users.py
@@ -269,7 +269,11 @@ class MyTokenGet(OutputSchemaWithoutCamelCase):
269
270
@classmethod
271
def from_model(cls, token: UserThirdPartyToken) -> Self:
272
- return cls(service=token.service, token_key=token.token_key, token_secret=None)
+ 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
+ )
277
278
279
#
0 commit comments