Skip to content

Commit

Permalink
remove sort response (#3958)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpkane committed Jan 12, 2024
1 parent f622db3 commit 9bf182c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions fiftyone/server/routes/sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,7 @@ async def post(self, request: Request, data: dict):

await fose.dispatch_event(subscription, fose.StateUpdate(state))

dataset = stringify(
asdict(
await serialize_dataset(
dataset_name=dataset_name,
serialized_view=stages,
)
)
)

dataset["stages"] = None
return {"dataset": dataset}
# empty response
#
# /sort is only used to populate a dist_field, if provided
return {}

0 comments on commit 9bf182c

Please sign in to comment.