runtraj.particles.release_metadata#

runtraj.particles.release_metadata(release)[source]#

Return the Parquet schema metadata that records release in a result file.

A stage that writes its own Parquet file merges this into the file’s metadata, so that stored_release() reads the release back and the file is found as the release’s.

Parameters:

release (runtraj.releases.Release) – The release the file was made for.

Returns:

The metadata entries, to merge with the file’s other entries.

Return type:

dict[bytes, bytes]