(
    domain: str,
    data_type_id: str,
    key: str,
    filter_in: Optional[Dict[str, list]] = None,
    filter_out: Optional[Dict[str, Any]] = None,
)
return dicts_by_key
Returns a dictionary of fixture data items, keyed on ``key``, and
    fixture data items are dictionaries.

    They can be filtered using ``filter_in``, where if the item has a
    key that is in ``filter_in``, then the value of ``item[key]`` must
    be in the (set/tuple/list) value of ``filter_in[key]``.
Returns a dictionary of fixture data items, keyed on ``key``, and
    fixture data items are dictionaries.
Returns a dictionary of fixture data items keyed on key and fixture data items are dictionaries .
def get_fixture_dicts_by_key(
    domain: str,
    data_type_id: str,
    key: str,
    filter_in: Optional[Dict[str, list]] = None,
    filter_out: Optional[Dict[str, Any]] = None,
) -> dict:
    """
    Returns a dictionary of fixture data items, keyed on ``key``, and
    fixture data items are dictionaries.

    They can be filtered using ``filter_in``, where if the item has a
    key that is in ``filter_in``, then the value of ``item[key]`` must
    be in the (set/tuple/list) value of ``filter_in[key]``.
    """
    dicts_by_key = defaultdict(list)
    for data_item in get_fixture_items_for_data_type(domain, data_type_id):
        dict_ = fixture_data_item_to_dict(data_item)
        if (
            dict_values_in(dict_, filter_in)
            and dict_value_not(dict_, filter_out)
        ):
            dicts_by_key[dict_[key]].append(dict_)
    return dicts_by_key
def get_fixture_dicts_by_key ( domain : str , data_type_id : str , key : str , filter_in : Optional [ Dict [ str , list ] ] = None , filter_out : Optional [ Dict [ str , Any ] ] = None , ) -> dict : dicts_by_key = defaultdict ( list ) for data_item in get_fixture_items_for_data_type ( domain , data_type_id ) : dict_ = fixture_data_item_to_dict ( data_item ) if ( dict_values_in ( dict_ , filter_in ) and dict_value_not ( dict_ , filter_out ) ) : dicts_by_key [ dict_ [ key ] ] . append ( dict_ ) return dicts_by_key