소스 검색

chore: remove duplicate import statements (#13959)

tags/1.0.0
taokuizu 8 달 전
부모
커밋
dc942db52f
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      api/services/plugin/plugin_migration.py

+ 1
- 2
api/services/plugin/plugin_migration.py 파일 보기

@@ -37,7 +37,6 @@ class PluginMigration:
"""
Migrate plugin.
"""
import concurrent.futures
from threading import Lock

click.echo(click.style("Migrating models/tools to new plugin Mechanism", fg="white"))
@@ -54,7 +53,7 @@ class PluginMigration:
file_lock = Lock()
counter_lock = Lock()

thread_pool = concurrent.futures.ThreadPoolExecutor(max_workers=workers)
thread_pool = ThreadPoolExecutor(max_workers=workers)

def process_tenant(flask_app: Flask, tenant_id: str) -> None:
with flask_app.app_context():

Loading…
취소
저장