Skip to content

Commit

Permalink
Merge pull request #89 from Edvinas9/master
Browse files Browse the repository at this point in the history
AVB-26 TicketIntegration __eq__ in diff
  • Loading branch information
tomrutherford-livestyled committed Jul 3, 2023
2 parents eaf9c06 + 081906b commit 78860b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion livestyled/__init__.py
@@ -1 +1 @@
__version__ = '1.4.4'
__version__ = '1.4.5'
5 changes: 5 additions & 0 deletions livestyled/models/ticket_integration.py
Expand Up @@ -76,6 +76,11 @@ def create_new(
def __repr__(self):
return '<TicketIntegration(id={self.id!r})>'.format(self=self)

def __eq__(self, other):
if isinstance(other, TicketIntegration):
return self.id == other.id
return False

def diff(self, other):
differences = {}
fields = (
Expand Down

0 comments on commit 78860b3

Please sign in to comment.