def METHOD_NAME(self, key: str) -> Binding:
    """Get a binding if it exists.
    Args:
        key: Key to look up.
    Raises:
        NoBinding: If the binding does not exist.
    Returns:
        A binding object for the key,
    """
    try:
        return self.keys[key]
    except KeyError:
        raise NoBinding(f"No binding for {key}") from None