Skip to content

Commit e59a12f

Browse files
committed
Merge branch 'implement_scene_class' of github.com:scaleapi/nucleus-python-client into implement_scene_class
2 parents b4db4dc + 019fcfe commit e59a12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nucleus/dataset_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def to_payload(self, is_scene=False) -> dict:
161161
if self.item_id:
162162
payload[DATASET_ITEM_ID_KEY] = self.item_id
163163
if self.camera_params:
164-
payload[CAMERA_PARAMS_KEY] = self.camera_params
164+
payload[CAMERA_PARAMS_KEY] = self.camera_params.to_payload()
165165

166166
return payload
167167

0 commit comments

Comments
 (0)