Skip to content

Commit a641fd3

Browse files
committed
formatting
1 parent 793c7a5 commit a641fd3

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

  • integrations/weaviate/src/haystack_integrations/document_stores/weaviate

integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,7 @@ def update_by_filter(self, filters: dict[str, Any], meta: dict[str, Any]) -> int
751751

752752
if failed_updates:
753753
msg = "\n".join(
754-
[
755-
f"Failed to update object with id '{id_}'. Error: '{error}'"
756-
for id_, error in failed_updates
757-
]
754+
[f"Failed to update object with id '{id_}'. Error: '{error}'" for id_, error in failed_updates]
758755
)
759756
raise DocumentStoreError(msg)
760757

@@ -854,10 +851,7 @@ async def update_by_filter_async(self, filters: dict[str, Any], meta: dict[str,
854851

855852
if failed_updates:
856853
msg = "\n".join(
857-
[
858-
f"Failed to update object with id '{id_}'. Error: '{error}'"
859-
for id_, error in failed_updates
860-
]
854+
[f"Failed to update object with id '{id_}'. Error: '{error}'" for id_, error in failed_updates]
861855
)
862856
raise DocumentStoreError(msg)
863857

0 commit comments

Comments
 (0)