Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Oct 5, 2023
1 parent 111f295 commit 6b36a50
Show file tree
Hide file tree
Showing 2 changed files with 292 additions and 194 deletions.
22 changes: 1 addition & 21 deletions adbdgl_adapter/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

from abc import ABC
from typing import Any, List, Set, Union
from typing import Any, Set, Union

from arango.graph import Graph as ArangoDBGraph
from dgl import DGLGraph, DGLHeteroGraph
Expand Down Expand Up @@ -38,26 +38,6 @@ def dgl_to_arangodb(
) -> ArangoDBGraph:
raise NotImplementedError # pragma: no cover

def etypes_to_edefinitions(self, edge_types: List[DGLCanonicalEType]) -> List[Json]:
raise NotImplementedError # pragma: no cover

def ntypes_to_ocollections(
self, node_types: List[str], edge_types: List[DGLCanonicalEType]
) -> List[str]:
raise NotImplementedError # pragma: no cover

def __fetch_adb_docs(self) -> None:
raise NotImplementedError # pragma: no cover

def __insert_adb_docs(self) -> None:
raise NotImplementedError # pragma: no cover

def __build_tensor_from_dataframe(self) -> None:
raise NotImplementedError # pragma: no cover

def __build_dataframe_from_tensor(self) -> None:
raise NotImplementedError # pragma: no cover


class Abstract_ADBDGL_Controller(ABC):
def _prepare_dgl_node(self, dgl_node: Json, node_type: str) -> Json:
Expand Down
Loading

0 comments on commit 6b36a50

Please sign in to comment.