message_ix_models.project.digsy.structure.CL_SCENARIO_DIGSY
- class message_ix_models.project.digsy.structure.CL_SCENARIO_DIGSY[source]
Bases:
StructureFactory[Codelist]List of codes for DIGSY scenarios.
Methods
__init__()create()Create and return the artefact.
get(*[, force])Retrieve the artefact, possibly from file.
maintainable(_type)Shorthand to create an empty MaintainableArtefact.
Attributes
Partial URN for the artefact that is returned, excluding the version.
Version.
- classmethod get(*, force: bool = False) MaintainableT[source]
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().
- classmethod maintainable(_type: type[MaintainableT]) MaintainableT[source]
Shorthand to create an empty MaintainableArtefact.