test: example of make db.session pass from parameter. #37403 (#37471)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Asuka Minato
2026-06-16 04:07:01 +00:00
committed by GitHub
co-authored by autofix-ci[bot]
parent 8d05185e39
commit 1b2d397fc9
3 changed files with 43 additions and 81 deletions
@@ -994,7 +994,7 @@ class RagPipelineTransformApi(Resource):
dataset_id_str = str(dataset_id)
rag_pipeline_transform_service = RagPipelineTransformService()
result = rag_pipeline_transform_service.transform_dataset(dataset_id_str)
result = rag_pipeline_transform_service.transform_dataset(dataset_id_str, db.session)
return result