remove unused imports
This commit is contained in:
parent
889604ee9f
commit
0fb5dd89da
6 changed files with 1 additions and 7 deletions
|
|
@ -28,7 +28,6 @@ from api.db.services import UserService
|
|||
from api.utils.json_encode import CustomJSONEncoder
|
||||
from api.utils import commands
|
||||
|
||||
from flask_mail import Mail
|
||||
from quart_auth import Unauthorized
|
||||
from common import settings
|
||||
from api.utils.api_utils import server_error_response
|
||||
|
|
|
|||
|
|
@ -82,7 +82,6 @@ async def create(tenant_id):
|
|||
status=StatusEnum.VALID.value)
|
||||
|
||||
try:
|
||||
from threading import Thread
|
||||
|
||||
user_name = ""
|
||||
_, user = UserService.get_by_id(current_user.id)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import secrets
|
|||
import time
|
||||
from datetime import datetime
|
||||
|
||||
from quart import redirect, request, session, make_response
|
||||
from quart import redirect, request, session
|
||||
from werkzeug.security import check_password_hash, generate_password_hash
|
||||
|
||||
from api.apps.auth import get_auth_client
|
||||
|
|
|
|||
|
|
@ -21,10 +21,8 @@ import re
|
|||
import socket
|
||||
from urllib.parse import urlparse
|
||||
import aiosmtplib
|
||||
from api.apps import app
|
||||
from email.mime.text import MIMEText
|
||||
from email.header import Header
|
||||
from flask_mail import Message
|
||||
from common import settings
|
||||
from quart import render_template_string
|
||||
from api.utils.email_templates import EMAIL_TEMPLATES
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
"""Box connector"""
|
||||
import os
|
||||
import logging
|
||||
from datetime import datetime, timezone
|
||||
from typing import Any
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ from datetime import datetime, timezone
|
|||
from typing import Any
|
||||
|
||||
from flask import json
|
||||
import trio
|
||||
|
||||
from api.db.services.connector_service import ConnectorService, SyncLogsService
|
||||
from api.db.services.knowledgebase_service import KnowledgebaseService
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue