From d5db36b370f675fa9ab48322304e95139055220c Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 20 Apr 2021 19:56:22 +0900 Subject: [PATCH] Fix seq2seq repository --- app/api/views/download/repositories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/views/download/repositories.py b/app/api/views/download/repositories.py index 72138213..82d25ac8 100644 --- a/app/api/views/download/repositories.py +++ b/app/api/views/download/repositories.py @@ -79,7 +79,7 @@ class Seq2seqRepository(TextRepository): @property def docs(self): return self.project.documents.prefetch_related( - 'seq2seq_annotations__user', 'seq2seq_annotations__text' + 'seq2seq_annotations__user' ) def label_per_user(self, doc) -> Dict: