Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Nov 14, 2023
1 parent 2b5fe71 commit fa342f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arango_datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa342f3

Please sign in to comment.