Minimum working iterator version

Checkpointing. This is a minimum working version using the iterator. I basically hacked consuming the iterator since I want to switch directions, but this is a good place to come back to.
This commit is contained in:
Charlotte Weaver
2018-06-22 10:01:52 -07:00
parent fabd3ca2ff
commit 1621d20bc4
6 changed files with 74 additions and 32 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
from abc import ABCMeta, abstractmethod
class CXGDriver(metaclass=ABCMeta):
def __init__(self, data, schema=None, graph_method=None, diffexp_method=None):
self.data = self._load_data(data)
@abstractmethod
@staticmethod
@abstractmethod
def _load_data(data):
pass