Segment.get_value_alias#

Segment.get_value_alias(value)[source]#

Get value alias if exists, otherwise return name and value int.

If value doesn’t have an alias then returns the segment name alias (if exists) and the value in the format “{name}{value}” e.g. “p1”.

See also

get_alias

to get the alias for the segment name.

Parameters:

value (int)

Return type:

str