You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> posuto.get("1057529")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../lib/python3.8/site-packages/posuto/posuto.py", line 57, in get
out = PostalCode(**base)
TypeError: __new__() missing 3 required positional arguments: 'prefecture_romaji', 'city_romaji', and 'neighborhood_romaji'
I'm not sure clear on how this database gets built, is this perhaps the effect of some data getting carried over from an older implementation of this system?
The text was updated successfully, but these errors were encountered:
Huh, that's the same error as #6, but with a different code. I thought I took steps to prevent that from happening again but I guess it didn't work. It also seems to affect all codes in that building...
I'll look at making a more general fix for this. I've been considering dropping romaji from the library entirely, so this might be a good reason to do that too.
Oh, and to clarify, the issue is that the romaji data comes from a different CSV than the other postal code data. The romaji data is updated less frequently, maybe twice a year, and is frequently out of sync with the main data. Besides that it's low quality.
I'm not sure clear on how this database gets built, is this perhaps the effect of some data getting carried over from an older implementation of this system?
The text was updated successfully, but these errors were encountered: