This pull request includes changes to the livablproject package and livablproject/spiders and livablproject/utils directories. It introduces consistent snake_case naming conventions for field names in the LivablprojectItem class in items.py. It also adds a new format_scraped_data function to the json_utils.py file.
Summary
Updated field names in LivablprojectItem class in items.py:
projecturl changed to project_url
buildingType changed to building_type
unitsStories changed to units_stories
sizeSqFt changed to size_sq_ft
estimatedCompletion changed to estimated_completion
galleryData changed to gallery_data
hd_development_latitude remains unchanged
Added format_scraped_data function to json_utils.py in livablproject/utils directory
Updated livabl.py and livabl_sitemap.py in livablproject/spiders directory to use format_scraped_data function before yielding the scraped data
Fixes #1.
π Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
PR Feedback (click)
Description
This pull request includes changes to the
livablproject
package andlivablproject/spiders
andlivablproject/utils
directories. It introduces consistent snake_case naming conventions for field names in theLivablprojectItem
class initems.py
. It also adds a newformat_scraped_data
function to thejson_utils.py
file.Summary
LivablprojectItem
class initems.py
:projecturl
changed toproject_url
buildingType
changed tobuilding_type
unitsStories
changed tounits_stories
sizeSqFt
changed tosize_sq_ft
estimatedCompletion
changed toestimated_completion
galleryData
changed togallery_data
hd_development_latitude
remains unchangedformat_scraped_data
function tojson_utils.py
inlivablproject/utils
directorylivabl.py
andlivabl_sitemap.py
inlivablproject/spiders
directory to useformat_scraped_data
function before yielding the scraped dataFixes #1.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: