(field_dict, prefix)
return {
        k[prefix_len:]: v
        for k, v in field_dict.items()
        if k.startswith(prefix)
    }
The inverse of add_prefix.
    Returns all prefixed elements of a dict with the prefices stripped.
The inverse of add_prefix.
    Returns all prefixed elements of a dict with the prefices stripped.
The inverse of add_prefix . Returns all prefixed elements of a dict with the prefices stripped .
def get_prefixed(field_dict, prefix):
    """
    The inverse of add_prefix.
    Returns all prefixed elements of a dict with the prefices stripped.
    """
    prefix_len = len(prefix) + 1
    return {
        k[prefix_len:]: v
        for k, v in field_dict.items()
        if k.startswith(prefix)
    }
def get_prefixed ( field_dict , prefix ) : prefix_len = len ( prefix ) + 1 return { k [ prefix_len : ] : v for k , v in field_dict . items ( ) if k . startswith ( prefix ) }