Skip to content
Snippets Groups Projects

[LPD] [Correct] Don't pass default snapshot_at=None to calibration_client

Merged Thomas Kluyver requested to merge fix/lpd-no-snapshot-none into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -282,7 +282,8 @@
" resp = CalibrationConstantVersion.get_closest_by_time_by_detector_conditions(\n",
" client, karabo_id, list(calibrations.keys()),\n",
" {'parameters_conditions_attributes': condition},\n",
" karabo_da='', event_at=creation_time.isoformat(), snapshot_at=None)\n",
" karabo_da='', event_at=creation_time.isoformat()\n",
" )\n",
"\n",
" if not resp['success']:\n",
" raise RuntimeError(resp)\n",
Loading