Skip to content

Import cities error#143

Merged
BimaAdi merged 4 commits into
pyconid:devfrom
nizarfadlan:fix/140-import-cities-error
Jun 3, 2026
Merged

Import cities error#143
BimaAdi merged 4 commits into
pyconid:devfrom
nizarfadlan:fix/140-import-cities-error

Conversation

@nizarfadlan

@nizarfadlan nizarfadlan commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Penyesuain seeder location dengan format json baru

image

Close #140

Corrected the installation instructions for clarity and consistency.
- Removed JSON handling for cities and streamlined the download process.
- Added a new function to flatten cities from countries with states.
- Updated the initial seeder to load data from the combined countries, states, and cities file.
Updated the download_location_data function to handle gzip compression
for specific files. Added logic to create gzipped versions of files
when required and ensured proper cleanup of raw files after download.
@nizarfadlan nizarfadlan changed the title Fix/140 import cities error Import cities error Jun 2, 2026
@BimaAdi

BimaAdi commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

fix #140

@BimaAdi BimaAdi merged commit 4783c3a into pyconid:dev Jun 3, 2026
4 checks passed
This was referenced Jun 3, 2026
Merged
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.

2 participants