aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/editgroup.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:28:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:28:27 -0800
commit16f2e78298dbd2231f5f337ea17c89a6a131a052 (patch)
tree6e72581e625e73c97cbab72d0f9c35665c99e5d7 /python/fatcat_client/models/editgroup.py
parenteb40a5f274f3608db34309cfd16739a7642ef5e7 (diff)
parentffb721f90c5d97ee80885209bf45feb85ca9625c (diff)
downloadfatcat-16f2e78298dbd2231f5f337ea17c89a6a131a052.tar.gz
fatcat-16f2e78298dbd2231f5f337ea17c89a6a131a052.zip
Merge branch 'bnewbold-crude-auth'
Fixed a conflict in: python/fatcat_export.py
Diffstat (limited to 'python/fatcat_client/models/editgroup.py')
-rw-r--r--python/fatcat_client/models/editgroup.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/fatcat_client/models/editgroup.py b/python/fatcat_client/models/editgroup.py
index 5b1573ed..4c877685 100644
--- a/python/fatcat_client/models/editgroup.py
+++ b/python/fatcat_client/models/editgroup.py
@@ -60,7 +60,8 @@ class Editgroup(object):
if editgroup_id is not None:
self.editgroup_id = editgroup_id
- self.editor_id = editor_id
+ if editor_id is not None:
+ self.editor_id = editor_id
if description is not None:
self.description = description
if extra is not None:
@@ -117,8 +118,6 @@ class Editgroup(object):
:param editor_id: The editor_id of this Editgroup. # noqa: E501
:type: str
"""
- if editor_id is None:
- raise ValueError("Invalid value for `editor_id`, must not be `None`") # noqa: E501
if editor_id is not None and len(editor_id) > 26:
raise ValueError("Invalid value for `editor_id`, length must be less than or equal to `26`") # noqa: E501
if editor_id is not None and len(editor_id) < 26: