Skip to content

Commit

Permalink
feat: add hash component
Browse files Browse the repository at this point in the history
Signed-off-by: tanlocnguyen <tanlocnguyen296@gmail.com>
  • Loading branch information
ElliotNguyen68 committed Mar 23, 2024
1 parent 6cba191 commit 917a6c5
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,13 @@ def __eq__(self, other):
)

def __hash__(self):
return super().__hash__()
return hash(
self.name,
self.timestamp_field,
self.table,
self.query,
self.path
)


class SparkOptions:
Expand Down

0 comments on commit 917a6c5

Please sign in to comment.