RSPImageTag#

class controller.models.domain.rsptag.RSPImageTag(tag, image_type, version, cycle, display_name)#

Bases: object

A sortable image tag for a Rubin Science Platform image.

This class encodes the tag conventions documented in SQR-059. These conventions are specific to the Rubin Science Platform.

Parameters:

Methods Summary

alias(tag)

Create an alias tag.

from_str(tag)

Parse a tag into an RSPImageTag.

Methods Documentation

classmethod alias(tag)#

Create an alias tag.

Parameters:

tag (str) – Name of the alias tag.

Returns:

The corresponding RSPImageTag.

Return type:

RSPImageTag

classmethod from_str(tag)#

Parse a tag into an RSPImageTag.

Parameters:

tag (str) – The tag.

Returns:

The corresponding RSPImageTag object.

Return type:

RSPImageTag