Search zipcode by wildcard. Returns multiple results.
(self,
pattern,
zipcode_type=ZipcodeType.Standard,
sort_by=SimpleZipcode.zipcode.name,
ascending=True,
returns=DEFAULT_LIMIT)
| 611 | ) |
| 612 | |
| 613 | def by_pattern(self, |
| 614 | pattern, |
| 615 | zipcode_type=ZipcodeType.Standard, |
| 616 | sort_by=SimpleZipcode.zipcode.name, |
| 617 | ascending=True, |
| 618 | returns=DEFAULT_LIMIT): |
| 619 | """ |
| 620 | Search zipcode by wildcard. |
| 621 | |
| 622 | Returns multiple results. |
| 623 | """ |
| 624 | return self.query( |
| 625 | pattern=pattern, |
| 626 | sort_by=sort_by, zipcode_type=zipcode_type, |
| 627 | ascending=ascending, returns=returns, |
| 628 | ) |
| 629 | |
| 630 | def by_city(self, |
| 631 | city, |