Преглед на файлове

chore: remove debug log statements from DifyAPIRepositoryFactory (#23734)

tags/1.7.2
-LAN- преди 2 месеца
родител
ревизия
43411d7a9e
No account linked to committer's email address
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0
    2
      api/repositories/factory.py

+ 0
- 2
api/repositories/factory.py Целия файл

@@ -48,7 +48,6 @@ class DifyAPIRepositoryFactory(DifyCoreRepositoryFactory):
RepositoryImportError: If the configured repository cannot be imported or instantiated
"""
class_path = dify_config.API_WORKFLOW_NODE_EXECUTION_REPOSITORY
logger.debug("Creating DifyAPIWorkflowNodeExecutionRepository from: %s", class_path)

try:
repository_class = cls._import_class(class_path)
@@ -86,7 +85,6 @@ class DifyAPIRepositoryFactory(DifyCoreRepositoryFactory):
RepositoryImportError: If the configured repository cannot be imported or instantiated
"""
class_path = dify_config.API_WORKFLOW_RUN_REPOSITORY
logger.debug("Creating APIWorkflowRunRepository from: %s", class_path)

try:
repository_class = cls._import_class(class_path)

Loading…
Отказ
Запис