add hash method for ReserveResultPojo.py
This commit is contained in:
@@ -39,6 +39,9 @@ class ReserveResultPojo:
|
||||
validated_at = None
|
||||
ip_address = None
|
||||
|
||||
def __hash__(self):
|
||||
return hash("{}_{}_{}_{}_{}".format(self.mail, self.first_name, self.last_name, self.phone, self.passport))
|
||||
|
||||
@staticmethod
|
||||
def from_firestore_dict(source):
|
||||
publish_type = PublishType.ERROR
|
||||
|
||||
Reference in New Issue
Block a user