diff --git a/python/docs/examples/ingestion.ipynb b/python/docs/examples/ingestion.ipynb index ade951971..669a3decc 100644 --- a/python/docs/examples/ingestion.ipynb +++ b/python/docs/examples/ingestion.ipynb @@ -303,9 +303,6 @@ " descriptor = ingest_client.get_flow_descriptor(flow_name=\"onboard_sensors\")\n", " run_id = ingest_client.get_run_id()\n", "\n", - " if run_id is None:\n", - " raise ValueError(\"Run ID is required for FlowBuilderPy usage\")\n", - "\n", " # Pre-compute channel indices and conversion methods for maximum performance\n", " # This avoids hash lookups when setting values in the loop below\n", " channel_index_map = descriptor.mapping()\n", @@ -329,7 +326,9 @@ "\n", " # Create FlowBuilderPy and build request using pre-computed indices\n", " flow_builder = FlowBuilderPy(descriptor)\n", - " flow_builder.attach_run_id(run_id)\n", + "\n", + " if run_id is not None:\n", + " flow_builder.attach_run_id(run_id)\n", "\n", " # Generate values\n", " motor_temp_value = 50.0 + random.random() * 5.0\n",