Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PIN Code range and union territories in en_IN address provider #2091

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wh0th3h3llam1
Copy link
Contributor

What does this change

Updates the address provider for en_IN to add union territories and PIN code ranges for states

What was wrong

No state / union territories pin code specified

How this fixes it

Add state / union territories pin codes with ranges

Fixes #2089

"Jammu and Kashmir",
"Ladakh",
"Lakshadweep",
("Pondicherry, Puducherry"),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it fine being a tuple?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make them all tuples, even if they just have one element

"Jammu and Kashmir",
"Ladakh",
"Lakshadweep",
("Pondicherry, Puducherry"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make them all tuples, even if they just have one element

"HP": (170_000, 179_999),
"JH": (800_000, 859_999),
"KA": (560_000, 599_999),
"KL": [(670_000, 681_999), (683_000, 699_999)],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make all items lists of tuples?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I make them list of tuples, I don't see how it would make a difference since it's meant to be never changed (unless a new state is created). I don't mind changing it to list of tuples as well. I'm just asking for your view

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather have all valueswith the same structure

@fcurella fcurella self-requested a review September 4, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update address provider for en_IN
2 participants