Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WS-2589: removing the genre field
  • Loading branch information
Yaison
Yaison committed Nov 15, 2022
commit 1c7f34cc893350b7952e0429e49783e26f96978a
5 changes: 2 additions & 3 deletions rosette/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class DocumentParameters(_DocumentParamSetBase):
def __init__(self):
"""Create a L{DocumentParameters} object."""
_DocumentParamSetBase.__init__(
self, ("content", "contentUri", "language", "genre", "profileId"))
self, ("content", "contentUri", "language", "profileId"))
self.file_name = ""
self.use_multipart = False

Expand Down Expand Up @@ -236,8 +236,7 @@ def __init__(self):
"sourceLanguageOfUse",
"sourceScript",
"targetScript",
"targetScheme",
"genre"))
"targetScheme"))

def validate(self):
"""Internal. Do not use."""
Expand Down