edk2toollib/uefi/edk2/parsers/guid_parser.py
def uuid_from_guidstring(cls, guidstring: str) -> uuid.UUID:
        """ create a uuid object from the supplied guidstring"""

        if(cls.is_guid_in_c_format(guidstring)):
            return uuid.UUID(cls.reg_guid_from_c_format(guidstring))
        elif(cls.is_guid_in_reg_format(guidstring)):
            guidstring = guidstring.strip().strip('} {')
            return uuid.UUID(guidstring)
        else:
            return None
 create a uuid object from the supplied guidstring
create a uuid object from the supplied guidstring
create a uuid object from the supplied guidstring
def uuid_from_guidstring(cls, guidstring: str) -> uuid.UUID:
        if(cls.is_guid_in_c_format(guidstring)):
            return uuid.UUID(cls.reg_guid_from_c_format(guidstring))
        elif(cls.is_guid_in_reg_format(guidstring)):
            guidstring = guidstring.strip().strip('} {')
            return uuid.UUID(guidstring)
        else:
            return None
def uuid_from_guidstring ( cls , guidstring : str ) -> uuid . UUID : if ( cls . is_guid_in_c_format ( guidstring ) ) : return uuid . UUID ( cls . reg_guid_from_c_format ( guidstring ) ) elif ( cls . is_guid_in_reg_format ( guidstring ) ) : guidstring = guidstring . strip ( ) . strip ( '} {' ) return uuid . UUID ( guidstring ) else : return None
create a uuid object from the supplied guidstring
create a uuid object from the supplied guidstring
""" create a uuid object from the supplied guidstring"""
cls
guidstring
str