We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b5d6c commit 2b8febeCopy full SHA for 2b8febe
arango_datasets/datasets.py
@@ -157,10 +157,9 @@ def __initialize_collection(
157
:return: The collection.
158
:rtype: arango.collection.StandardCollection
159
"""
160
- if self.preserve_existing is False:
161
- m = f"Collection '{collection_name}' already exists, dropping and creating with new data." # noqa: E501
162
- print(m)
+ print(f"Initializing collection '{collection_name}'")
163
+ if not self.preserve_existing:
164
self.user_db.delete_collection(collection_name, ignore_missing=True)
165
166
return self.user_db.create_collection(collection_name, edge=is_edge)
0 commit comments