def get_account_data_for_room(self, user_id, room_id):
        def get_account_data_for_room_txn(txn):
            rows = self._simple_select_list_txn(
                txn, "room_account_data", {"user_id": user_id, "room_id": room_id},
                ["account_data_type", "content"]
            )

            return {
                row["account_data_type"]: json.loads(row["content"]) for row in rows
            }

        return self.runInteraction(
            "get_account_data_for_room", get_account_data_for_room_txn
        )
Download chunks of data containing hash prefixes
dataset/ETHPy150Open matrix-org/synapse/synapse/storage/account_data.py/AccountDataStore.get_account_data_for_room--crossover with--dataset/ETHPy150Open afilipovich/gglsbl/gglsbl/protocol.py/DataResponse._fetchChunks