I would include all sample tokens for each scene as a list.
It would be better then cycling over next_sample_token = my_scene.get("sample", my_sample_token)["next"] for 126 times to get all sample tokens.
Also, I am not sure where the naming convention is coming from, but if I had a choice I would name all samples as scene_token_000 scene_token_001 ... scene_token_125, so that scene token is a part of the sample token name, which belongs to that run
I would include all sample tokens for each scene as a list. It would be better then cycling over next_sample_token = my_scene.get("sample", my_sample_token)["next"] for 126 times to get all sample tokens.
Also, I am not sure where the naming convention is coming from, but if I had a choice I would name all samples as scene_token_000 scene_token_001 ... scene_token_125, so that scene token is a part of the sample token name, which belongs to that run