dev/reformat

This commit is contained in:
jyong 2025-09-16 19:06:42 +08:00
parent 6be5772a51
commit 5133623d42
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class PipelineGenerator(BaseAppGenerator):
) -> Union[Mapping[str, Any], Generator[Mapping | str, None, None], None]:
# Add null check for dataset
with Session(db.engine) as session:
with Session(db.engine, expire_on_commit=False) as session:
dataset = pipeline.retrieve_dataset(session)
if not dataset:
raise ValueError("Pipeline dataset is required")