def build_edge_data_filter(annotations: Mapping, partial_match: bool = True) -> EdgePredicate: 
@edge_predicate<EOL>def annotation_dict_filter(data: EdgeData) -> bool:<EOL><INDENT>"""<STR_LIT>"""<EOL>return subdict_matches(data, annotations, partial_match=partial_match)<EOL><DEDENT>return annotation_dict_filter<EOL>
Build a filter that keeps edges whose data dictionaries are super-dictionaries to the given dictionary.

    :param annotations: The annotation query dict to match
    :param partial_match: Should the query values be used as partial or exact matches? Defaults to :code:`True`.