Skip to content

Commit

Permalink
add blacklist getter in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatYYX committed Apr 15, 2018
1 parent 7c60812 commit c8d0099
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rltk/io/writer/block_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@


class BlockWriter(Writer):
"""
index: sets
black list is on index
"""

def write(self, id1, id2):
raise NotImplementedError

Expand All @@ -11,6 +16,9 @@ def get_handler(self):
def flush(self):
raise NotImplementedError

def get_blacklist(self):
return self._blacklist

def close(self):
self.flush()
super().close()

0 comments on commit c8d0099

Please sign in to comment.