We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a37952 commit 0744e97Copy full SHA for 0744e97
labkey/experiment.py
@@ -162,7 +162,6 @@ def __init__(self, **kwargs):
162
def to_json(self):
163
data = {
164
# 'id': self.id,
165
- 'lsid': self.lsid,
166
'comment': self.comment,
167
'name': self.name,
168
'created': self.created,
@@ -171,6 +170,9 @@ def to_json(self):
171
170
'modifiedBy': self.modified_by,
172
'properties': self.properties
173
}
+ if self.lsid is not None:
174
+ data.update({'lsid': self.lsid})
175
+
176
return data
177
178
0 commit comments