Skip to content

Commit

Permalink
Refactor BaseVectorDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
vasinov committed Jun 14, 2023
1 parent 6686e18 commit fcdaf84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions griptape/drivers/vector/base_vector_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def upsert_text_artifacts(
) -> None:
with self.futures_executor as executor:
utils.execute_futures_dict({
key:
executor.submit(self.upsert_text_artifact, a, key, meta, **kwargs)
for key, artifact_list in artifacts.items() for a in artifact_list
namespace:
executor.submit(self.upsert_text_artifact, a, namespace, meta, **kwargs)
for namespace, artifact_list in artifacts.items() for a in artifact_list
})

def upsert_text_artifact(
Expand Down

0 comments on commit fcdaf84

Please sign in to comment.