Runs

class ixmp4.core.run.Run(**kwargs)

Bases: BaseModelFacade

NoDefaultVersion

alias of NoDefaultRunVersion

NotFound

alias of RunNotFound

NotUnique

alias of RunNotUnique

property id

Unique id.

property meta

Meta indicator data (dict-like).

property model

Associated model.

property scenario

Associated scenario.

set_as_default()

Sets this run as the default version for its model + scenario combination.

unset_as_default()

Unsets this run as the default version.

class ixmp4.core.run.RunMetaFacade(run: Run, *args, **kwargs)

Bases: BaseFacade, UserDict

run: Run
class ixmp4.core.run.RunRepository(_backend: Backend | None = None)

Bases: BaseFacade

create(model: str, scenario: str) Run
get(model: str, scenario: str, version: int | None = None) Run
list(default_only: bool = True, **kwargs) list[Run]
tabulate(default_only: bool = True, audit_info: bool = False, **kwargs) DataFrame
ixmp4.core.run.numpy_to_pytype(value)

Cast numpy-types to basic Python types