Skip to content
Snippets Groups Projects
Commit a335b26d authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

add forced type for mypy

parent 427d89e8
No related branches found
No related tags found
1 merge request!44Feature/comp 208 google o auth poc
from flask import Flask
from authlib.integrations.flask_client import OAuth, FlaskOAuth2App # type: ignore
oauth = None
oauth = None # type: OAuth
def setup_oauth(app: Flask, oidc_config: dict):
......@@ -29,4 +29,4 @@ def setup_oauth(app: Flask, oidc_config: dict):
def get_client() -> FlaskOAuth2App:
return oauth.create_client('provider') # type: ignore
return oauth.create_client('provider')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment