def METHOD_NAME(kwargs: Dict) -> Optional[BinaryExpression]:
    """Get query filters from kwargs. IMPORTANT, this will update the original dictionary
    passed in the function argument.
    Args:
        kwargs (Dict): kwargs
    """
    if kwargs.get("query_filter_"):
        query_filter = kwargs.pop("query_filter_")
        filter_ = build_query_filter(**query_filter)
    else:
        filter_ = None
    return filter_