improve: introduce isort for linting Python imports (#1983)

This commit is contained in:
Bowen Liang 2024-01-12 12:34:01 +08:00 • committed by GitHub
commit cc9e74123c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
413 changed files with 1635 additions and 1906 deletions

View file

@ -1,12 +1,10 @@
# -*- coding:utf-8 -*-
from flask import Blueprint
from libs.external_api import ExternalApi
bp = Blueprint('service_api', __name__, url_prefix='/v1')
api = ExternalApi(bp)
from .app import completion, app, conversation, message, audio, file
from .dataset import document, segment, dataset
from .app import app, audio, completion, conversation, file, message
from .dataset import dataset, document, segment