load_asset#

eclypse.io.assets.load_asset(data)[source]#

Deserialise an asset definition.

Parameters:

data (dict[str, Any]) – The serialised asset definition.

Returns:

The deserialised asset.

Return type:

Asset

Raises:

ValueError – If the asset type is unknown.