from_full_id_str#

classmethod ReplicaID.from_full_id_str(s: str)[source]#

Parse a full ID string into a replica ID.

The inverse of to_full_id_str.

Parameters:

s (str) – A full replica ID string.

Returns:

The parsed replica ID.

Raises:

ValueError – If s doesn’t have two or three #-delimited fields.