message_ix_models.model.transport.config.ScenarioCodeAnnotations
- class message_ix_models.model.transport.config.ScenarioCodeAnnotations(SSP_URN: str, is_LED_scenario: bool, EDITS_activity_id: str | None, base_scenario_URL: str)[source]
Bases:
AnnotationsMixInSet of annotations appearing on each Code in
CL_TRANSPORT_SCENARIO.- __init__(SSP_URN: str, is_LED_scenario: bool, EDITS_activity_id: str | None, base_scenario_URL: str) None
Methods
__init__(SSP_URN, is_LED_scenario, ...)from_obj(obj)Return a new instance of cls given an AnnotableArtefact obj.
get_annotations(_rtype)Return a collection of
Annotationfor the fields of the object.Attributes
SSP_URNis_LED_scenarioEDITS_activity_idbase_scenario_URL- classmethod from_obj(obj: AnnotableArtefact) Self
Return a new instance of cls given an AnnotableArtefact obj.