try_parse method

On this page

try_parse

Returns the QRCode type matching the given parsing type name, or None if the name is unknown.

def try_parse(cls, parsing_type):
    ...
Parameter Type Description
parsing_type str Source string of QRCode type name.

Returns: QrCodeTypes or None: QRCode type instance, or None when the name is not recognized.

See Also

On this page