Skip to content

Commit 918fa84

Browse files
[autofix.ci] apply automated fixes
1 parent 22bc47f commit 918fa84

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

api/controllers/console/datasets/datasets_segments.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,12 @@ def get(self, dataset_id, document_id):
112112
if not document:
113113
raise NotFound("Document not found.")
114114

115-
args = SegmentListQuery.model_validate({
116-
**request.args.to_dict(),
117-
"status": request.args.getlist("status"),
118-
})
115+
args = SegmentListQuery.model_validate(
116+
{
117+
**request.args.to_dict(),
118+
"status": request.args.getlist("status"),
119+
}
120+
)
119121

120122
page = args.page
121123
limit = min(args.limit, 100)

0 commit comments

Comments
 (0)