(domain, data_types)
Clears quickcache for fixtures.dbaccessors

    Args:
        :domain: The domain that has been updated
        :data_types: List of FixtureDataType objects with stale cache
Clears quickcache for fixtures.dbaccessors
Clears quickcache for fixtures . dbaccessors
def clear_fixture_quickcache(domain, data_types):
    """
    Clears quickcache for fixtures.dbaccessors

    Args:
        :domain: The domain that has been updated
        :data_types: List of FixtureDataType objects with stale cache
    """
    if not data_types:
        return

    type_ids = set()
    for data_type in data_types:
        type_ids.add(data_type.get_id)
        data_type.clear_caches()

    from corehq.apps.fixtures.dbaccessors import get_fixture_items_for_data_type
    for type_id in type_ids:
        get_fixture_items_for_data_type.clear(domain, type_id)
def clear_fixture_quickcache ( domain , data_types ) : if not data_types : return type_ids = set ( ) for data_type in data_types : type_ids . add ( data_type . get_id ) data_type . clear_caches ( ) from corehq . apps . fixtures . dbaccessors import get_fixture_items_for_data_type for type_id in type_ids : get_fixture_items_for_data_type . clear ( domain , type_id )