Skip to content

parse

Parse an existing CRID.

parse(value)

Get CRID dataclass from CRID.


value: CRID URL as a string.

CRID: The parsed CRID.
Source code in cridlib/parse.py
def parse(value: str) -> CRID:
    """Get CRID dataclass from CRID.

    Args:
    ----
        value: CRID URL as a string.

    Returns:
    -------
        CRID: The parsed CRID.

    """
    return CRID(value)