From fa342f3fabdf697652f88e314a21a8658d8e94e1 Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Mon, 13 Nov 2023 19:01:18 -0500 Subject: [PATCH] fix mypy --- arango_datasets/datasets.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arango_datasets/datasets.py b/arango_datasets/datasets.py index ec59e13..560624b 100644 --- a/arango_datasets/datasets.py +++ b/arango_datasets/datasets.py @@ -132,9 +132,7 @@ def load_jsonl( def load_file(self, collection_name: str, edge_type: bool, file_url: str) -> None: collection: StandardCollection try: - collection = self.user_db.create_collection( - collection_name, edge=edge_type - ) # type: ignore + collection = self.user_db.create_collection(collection_name, edge=edge_type) except CollectionCreateError as exec: print( f"""Failed to create {collection_name} collection due