def removeprefix(string: str, prefix: str) -> str:
    """Remove a prefix from a string.

    Backport of `str.removeprefix` for Python < 3.9
    """
    if string.startswith(prefix):
        return string[len(prefix) :]
    return string
Remove a prefix from a string.

    Backport of `str.removeprefix` for Python < 3.9
    
src/anthropic/_utils/_utils.py