mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Fix typing
For some reason, my MyPy started acting up once I started using the PythonPath while calling it.
This commit is contained in:
parent
57334dd751
commit
3b70e5eb6b
9 changed files with 120 additions and 91 deletions
|
@ -36,7 +36,7 @@ class AuthorizationHelpers:
|
|||
"code": authorization_code,
|
||||
"code_verifier": verification_code,
|
||||
"scope": self._settings.CLIENT_SCOPES
|
||||
}))
|
||||
})) # type: ignore
|
||||
|
||||
# Request the access token from the authorization server using a refresh token.
|
||||
# \param refresh_token:
|
||||
|
@ -48,7 +48,7 @@ class AuthorizationHelpers:
|
|||
"grant_type": "refresh_token",
|
||||
"refresh_token": refresh_token,
|
||||
"scope": self._settings.CLIENT_SCOPES
|
||||
}))
|
||||
})) # type: ignore
|
||||
|
||||
@staticmethod
|
||||
# Parse the token response from the authorization server into an AuthenticationResponse object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue