Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3588

How to catch errors with dynamic batch import

$
0
0

Description

I’m trying to batch import data into a collection like so:

with filings_collection.batch.dynamic() as batch:
    for fc in tqdm(filngs_chunked):
        batch.add_object(
            properties=fc,
        )

I’m having trouble catching errors. I find that there is a number_errors attribute, however this doesn’t tell me which object exactly has failed, or what the error is

Server Setup Information

  • Weaviate Server Version: 1.25.5
  • Deployment Method: embed
  • Multi Node? Number of Running Nodes: No, 1 node
  • Client Language and Version: Python 3.12.4, weaviate version 4.6.5
  • Multitenancy?: No

Any additional Information


Viewing all articles
Browse latest Browse all 3588

Trending Articles