diff --git a/relational/relation.py b/relational/relation.py index 346730d..84782dd 100644 --- a/relational/relation.py +++ b/relational/relation.py @@ -52,7 +52,8 @@ class Relation: An empty relation needs a header, and can be filled using the insert() method. ''' - __hash__ = None # type: None + def __hash__(self): + raise NotImplementedError() def __init__(self, filename: Optional[Union[str, Path]] = None) -> None: self._readonly = False