mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-05 17:00:38 +08:00
style: auto-fix code style issues via ruff
This commit is contained in:
parent
d37e85f4d7
commit
09e83dd7f8
@ -2,7 +2,6 @@ from urllib import parse
|
||||
|
||||
from flask_login import current_user # type: ignore
|
||||
from flask_restful import Resource, abort, marshal_with, reqparse # type: ignore
|
||||
from shapely.speedups import available
|
||||
|
||||
import services
|
||||
from configs import dify_config
|
||||
|
@ -5,5 +5,5 @@ from libs.external_api import ExternalApi
|
||||
bp = Blueprint("inner_api", __name__, url_prefix="/inner/api")
|
||||
api = ExternalApi(bp)
|
||||
|
||||
from .workspace import workspace
|
||||
from . import mail
|
||||
from .workspace import workspace
|
||||
|
@ -1,5 +1,7 @@
|
||||
from flask_restful import Resource # type: ignore
|
||||
from flask_restful import reqparse
|
||||
from flask_restful import (
|
||||
Resource, # type: ignore
|
||||
reqparse,
|
||||
)
|
||||
|
||||
from controllers.console.wraps import setup_required
|
||||
from controllers.inner_api import api
|
||||
|
@ -38,7 +38,6 @@ class LicenseModel(BaseModel):
|
||||
workspaces: LimitationModel = LimitationModel(size=0, limit=0)
|
||||
|
||||
|
||||
|
||||
class BrandingModel(BaseModel):
|
||||
enabled: bool = False
|
||||
application_title: str = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user