dd_scenario.Asset

class dd_scenario.Asset(json=None, **kwargs)

The class to handle assets

__init__(json=None, **kwargs)

Creates a asset.

Parameters:
  • name (string) – The name of the asset.
  • category – The category of the asset. Currently supported value is model
  • json (dict) – The dict describing the asset.
  • **kwargs (optional) – kwargs to override scenario attributes. Attributes specified here will override those of desc.