async def add_derivation_paths(self, records: List[DerivationRecord]) -> None:
    '\n        Insert many derivation paths into the database.\n        '
    async with self.db_wrapper.lock:
        sql_records = []
        for record in records:
            self.all_puzzle_hashes.add(record.puzzle_hash)
            sql_records.append((record.index, bytes(record.pubkey).hex(), record.puzzle_hash.hex(), record.wallet_type, record.wallet_id, 0))
        cursor = (await self.db_connection.executemany('INSERT OR REPLACE INTO derivation_paths VALUES(?, ?, ?, ?, ?, ?)', sql_records))
        (await cursor.close())
        (await self.db_connection.commit())
Insert many derivation paths into the database.
async def add_derivation_paths(self, records: List[DerivationRecord]) -> None:
    '\n        \n        '
    async with self.db_wrapper.lock:
        sql_records = []
        for record in records:
            self.all_puzzle_hashes.add(record.puzzle_hash)
            sql_records.append((record.index, bytes(record.pubkey).hex(), record.puzzle_hash.hex(), record.wallet_type, record.wallet_id, 0))
        cursor = (await self.db_connection.executemany('INSERT OR REPLACE INTO derivation_paths VALUES(?, ?, ?, ?, ?, ?)', sql_records))
        (await cursor.close())
        (await self.db_connection.commit())