mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-13 12:33:23 +02:00
.
This commit is contained in:
parent
056d260bd1
commit
9cb74dc1ab
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ def stream_labels_as_jsonl(request, labelbase_id):
|
|||
|
||||
def generator():
|
||||
for item in get_queryset():
|
||||
yield json.dumps(item:) + '\n'
|
||||
yield json.dumps(item) + '\n'
|
||||
|
||||
# Return the data as a streaming response
|
||||
response = StreamingHttpResponse(generator(), content_type='application/json')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue