Open freelancing-solutions opened 3 years ago
add validators for address
https://github.com/freelancing-solutions/gcp-database-as-a-service-stock-markets/blob/f3d187fc254fc9c5078d0dade1b0dc36cc04209e/data_service/store/mixins.py#L73
return self.__str__() # TODO add validators for address class AddressMixin(ndb.Model): line_1: str = ndb.StringProperty() city: str = ndb.StringProperty() zip_code: str = ndb.StringProperty() province: str = ndb.StringProperty() country: str = ndb.StringProperty() def __eq__(self, other) -> bool: if self.__class__ != other.__class__:
54741352237a3382d83f68ffe94107c15f7fe8cb
add validators for address
https://github.com/freelancing-solutions/gcp-database-as-a-service-stock-markets/blob/f3d187fc254fc9c5078d0dade1b0dc36cc04209e/data_service/store/mixins.py#L73
54741352237a3382d83f68ffe94107c15f7fe8cb