aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-21 17:23:51 +0300
committerBonfaceKilz2024-03-26 10:01:13 +0300
commit7c77ff91f6530aca0865bd13025811f2f93e3541 (patch)
tree5b524a8ecaef6a6803e220951455f6bc7f1ce420 /gn2/wqflask/oauth2
parent65a702fe8cac38051411049ef4601c1cddeea865 (diff)
downloadgenenetwork2-7c77ff91f6530aca0865bd13025811f2f93e3541.tar.gz
Remove unused imports.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r--gn2/wqflask/oauth2/client.py6
-rw-r--r--gn2/wqflask/oauth2/resources.py2
2 files changed, 3 insertions, 5 deletions
diff --git a/gn2/wqflask/oauth2/client.py b/gn2/wqflask/oauth2/client.py
index 4e2c67f2..e9f747f4 100644
--- a/gn2/wqflask/oauth2/client.py
+++ b/gn2/wqflask/oauth2/client.py
@@ -1,12 +1,10 @@
"""Common oauth2 client utilities."""
-import uuid
import json
import requests
-from typing import Any, Optional
+from typing import Optional
from urllib.parse import urljoin
-from flask import jsonify, current_app as app
-from pymonad.maybe import Just, Maybe, Nothing
+from flask import current_app as app
from pymonad.either import Left, Right, Either
from authlib.integrations.requests_client import OAuth2Session
diff --git a/gn2/wqflask/oauth2/resources.py b/gn2/wqflask/oauth2/resources.py
index b8ca21fb..32efbd2a 100644
--- a/gn2/wqflask/oauth2/resources.py
+++ b/gn2/wqflask/oauth2/resources.py
@@ -1,7 +1,7 @@
import uuid
from flask import (
- flash, request, jsonify, url_for, redirect, Response, Blueprint)
+ flash, request, url_for, redirect, Response, Blueprint)
from . import client
from .ui import render_ui