mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-19 11:45:10 +08:00
refactor: remove debug print statements (#12598)
### What problem does this PR solve? This PR eliminates unnecessary debug print statements that were left in hot paths of the codebase. ### Type of change - [x] Refactoring
This commit is contained in:
@ -121,13 +121,6 @@ class TaskService(CommonService):
|
||||
.where(cls.model.id == task_id)
|
||||
)
|
||||
docs = list(docs.dicts())
|
||||
# Assuming docs = list(docs.dicts())
|
||||
if docs:
|
||||
kb_config = docs[0]['kb_parser_config'] # Dict from Knowledgebase.parser_config
|
||||
mineru_method = kb_config.get('mineru_parse_method', 'auto')
|
||||
mineru_formula = kb_config.get('mineru_formula_enable', True)
|
||||
mineru_table = kb_config.get('mineru_table_enable', True)
|
||||
print(mineru_method, mineru_formula, mineru_table)
|
||||
if not docs:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user