Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix print statement #15

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions arango_datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ def __initialize_collection(
:return: The collection.
:rtype: arango.collection.StandardCollection
"""
if self.preserve_existing is False:
m = f"Collection '{collection_name}' already exists, dropping and creating with new data." # noqa: E501
print(m)
print(f"Initializing collection '{collection_name}'")

if not self.preserve_existing:
self.user_db.delete_collection(collection_name, ignore_missing=True)

return self.user_db.create_collection(collection_name, edge=is_edge)
Expand Down
Loading