Skip to content

Commit

Permalink
Merge pull request facebook#278 from Dcallies/cleanups2
Browse files Browse the repository at this point in the history
[pytx3] Remove redundant function signatures
  • Loading branch information
mounikabodapati authored Aug 25, 2020
2 parents 77bbedb + 09259a2 commit cd280f7
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions pytx3/pytx3/signal_type/signal_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,6 @@ def process_descriptor(self, descriptor: t.Dict[str, t.Any]) -> bool:
"""
return False

def match(self, content: str) -> t.List[SignalMatch]:
"""
Given a string representation of content, return matches.
You don't need to implement this if it doesn't make sense for your
signal type.
"""
raise NotImplementedError

def match_file(self, file: pathlib.Path) -> t.List[SignalMatch]:
"""
Given a file containing content, return matches.
"""
raise NotImplementedError

def match_hash(self, hash: str) -> t.List[SignalMatch]:
"""
Given a representation of this SignalType, return matches.
Example - PDQ distance comparison, or MD5 exact comparison
"""
raise NotImplementedError

def load(self, path: pathlib.Path) -> None:
raise NotImplementedError

Expand Down

0 comments on commit cd280f7

Please sign in to comment.