Skip to content

Commit 1eaf585

Browse files
author
Adam Soos
committed
no-jira: add fields as required parameter
1 parent 6d94823 commit 1eaf585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rosette/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def __init__(self):
363363

364364
def validate(self):
365365
"""Internal. Do not use."""
366-
for option in ["records"]: # required
366+
for option in ["records","fields"]: # required
367367
if self[option] is None:
368368
raise RosetteException(
369369
"missingParameter",

0 commit comments

Comments
 (0)