message_ix_models.tests.model.test_workflow.CL_SCENARIO_TEST
- class message_ix_models.tests.model.test_workflow.CL_SCENARIO_TEST[source]
Bases:
StructureFactoryA scenario code list for testing.
- __init__()
Methods
__init__()create()Create and return the artefact.
get(*[, force])Retrieve the artefact, possibly from file.
Attributes
base_urlPartial URN for the artefact that is returned, excluding the version.
Version.
- classmethod get(*, force: bool = False) MaintainableT
Retrieve the artefact, possibly from file.
The highest version of the artefact with
urnis loaded using from file usingread().If the artefact from file has a version that does not match
versionor ifforce=True,create()is called to regenerate a complete and up-to-date version of the artefact as ofversion. This updated version is stored usingwrite().