def get(version: str) -> 'Protocol':
        """
        Return enum instance corresponding to input version value ('1.6' etc.)
        """

        return Protocol.V_13 if version == Protocol.V_13.value.name else Protocol.DEFAULT
def get ( version : str ) -> 'Protocol' : return Protocol . V_13 if version == Protocol . V_13 . value . name else Protocol . DEFAULT
Return enum instance corresponding to input version value ('1.6' etc.)