Skip to content

Commit

Permalink
Refactor fetch_and_process_urls function signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cdaprod committed Mar 5, 2024
1 parent 7bfaab6 commit 52b3bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/hydrate_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def process_documents_in_minio(bucket_name, processed_object_names):
os.remove(file_path)
print(f"MinIO and Weaviate have ingested '{object_name}'! :)")

def fetch_and_process_urls(urls, bucket_name):
def fetch_and_process_urls(url_list.urls, BUCKET_NAME):
processed_object_names = [] # Track successfully processed URLs

if not minio_client.bucket_exists(bucket_name):
Expand Down

0 comments on commit 52b3bbd

Please sign in to comment.