message_ix_models.tests.model.test_workflow.CL_SCENARIO_TEST

class message_ix_models.tests.model.test_workflow.CL_SCENARIO_TEST[source]

Bases: StructureFactory

A scenario code list for testing.

__init__()

Methods

__init__()

create()

Create and return the artefact.

get(*[, force])

Retrieve the artefact, possibly from file.

Attributes

base_url

urn

Partial URN for the artefact that is returned, excluding the version.

version

Version.

classmethod create() Codelist[source]

Create and return the artefact.

classmethod get(*, force: bool = False) MaintainableT

Retrieve the artefact, possibly from file.

The highest version of the artefact with urn is loaded using from file using read().

If the artefact from file has a version that does not match version or if force=True, create() is called to regenerate a complete and up-to-date version of the artefact as of version. This updated version is stored using write().

urn: str = 'IIASA_ECE:CL_SCENARIO_TEST'

Partial URN for the artefact that is returned, excluding the version.

version: str = '1.0.0'

Version.