Skip to content

Commit 1c7f34c

Browse files
author
Yaison
committed
WS-2589: removing the genre field
1 parent 6f680a8 commit 1c7f34c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rosette/api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class DocumentParameters(_DocumentParamSetBase):
153153
def __init__(self):
154154
"""Create a L{DocumentParameters} object."""
155155
_DocumentParamSetBase.__init__(
156-
self, ("content", "contentUri", "language", "genre", "profileId"))
156+
self, ("content", "contentUri", "language", "profileId"))
157157
self.file_name = ""
158158
self.use_multipart = False
159159

@@ -236,8 +236,7 @@ def __init__(self):
236236
"sourceLanguageOfUse",
237237
"sourceScript",
238238
"targetScript",
239-
"targetScheme",
240-
"genre"))
239+
"targetScheme"))
241240

242241
def validate(self):
243242
"""Internal. Do not use."""

0 commit comments

Comments
 (0)