mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Fix mypy complaint about Optional type
CURA-7427
This commit is contained in:
parent
32efb8d7bb
commit
898ca852f0
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class AuthorizationService:
|
||||||
# Open the authorization page in a new browser window.
|
# Open the authorization page in a new browser window.
|
||||||
QDesktopServices.openUrl(QUrl(auth_url))
|
QDesktopServices.openUrl(QUrl(auth_url))
|
||||||
|
|
||||||
def _generate_auth_url(self, query_parameters_dict: Dict[str, str], force_browser_logout: bool) -> str:
|
def _generate_auth_url(self, query_parameters_dict: Dict[str, Optional[str]], force_browser_logout: bool) -> str:
|
||||||
"""
|
"""
|
||||||
Generates the authentications url based on the original auth_url and the query_parameters_dict to be included.
|
Generates the authentications url based on the original auth_url and the query_parameters_dict to be included.
|
||||||
If there is a request to force logging out of mycloud in the browser, the link to logoff from mycloud is
|
If there is a request to force logging out of mycloud in the browser, the link to logoff from mycloud is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue