Skip to content

Commit f651461

Browse files
author
Yaison
committed
RCB-616: removing all genre references.
1 parent 2340b7c commit f651461

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rosette/api.py

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

160160
def validate(self):
161161
"""Internal. Do not use."""
162-
if self["genre"] is not None:
163-
warnings.warn("genre is deprecated and will be removed in the next release.")
164162
if self["content"] is None:
165163
if self["contentUri"] is None:
166164
raise RosetteException(

0 commit comments

Comments
 (0)