Skip to content

Viewer Control

def rerun.set_recording_id(value)

Set the recording ID that this process is logging to, as a UUIDv4.

The default recording_id is based on multiprocessing.current_process().authkey which means that all processes spawned with multiprocessing will have the same default recording_id.

If you are not using multiprocessing and still want several different Python processes to log to the same Rerun instance (and be part of the same recording), you will need to manually assign them all the same recording_id. Any random UUIDv4 will work, or copy the recording id for the parent process.

Parameters:

Name Type Description Default
value str

The recording ID to use for this process.

required

def rerun.save(path)

Save previously logged data to a file.

This only works if you have not called connect.

Parameters:

Name Type Description Default
path str

The path to save the data to.

required