dump_space#

eclypse.io.assets.dump_space(space)[source]#

Serialise an asset space.

Parameters:

space (AssetSpace) – The asset space to serialise.

Returns:

The serialised asset space.

Return type:

dict[str, Any]

Raises:

ValueError – If the asset space type is unsupported.