Skip to content

Commit

Permalink
fix initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Nov 11, 2024
1 parent cdd696d commit 49a31e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion unit_tests/destinations/vector_db_based/writer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ def test_write(omit_raw_text: bool):
mock_indexer.post_sync.return_value = [post_sync_log_message]

# Create the DestinationLangchain instance
writer = Writer(config_model, mock_indexer, mock_embedder, BATCH_SIZE, omit_raw_text)
writer = Writer(
config_model,
mock_indexer,
mock_embedder,
BATCH_SIZE,
omit_raw_text=omit_raw_text,
)

output_messages = writer.write(configured_catalog, input_messages)
output_message = next(output_messages)
Expand Down

0 comments on commit 49a31e7

Please sign in to comment.