Skip to content

Conversation

@VirginiaDooley
Copy link
Contributor

@VirginiaDooley VirginiaDooley commented Dec 18, 2023

Ref https://app.asana.com/0/1206157967511125/1206157968203036/f

Currentlypython manage.py candidatebot_import_next_ppcs --sheet-url SHEET_URL throws the expected error when run without existing elections: ValueError: No future parl election found!

Using #1998, I created a dummy parliamentary election to test the importer. We do not have accurate ballot IDs so I've used the same for all just for testing purposes.

The changes that need to made to the importer include:

  • Account for joint parties when matching parties
  • Account for independent party
  • Remove "Email Source" from the importer as we don't collect/store it any longer

Additional changes that need to be made to the sheet as well as next steps are recorded here.

@VirginiaDooley VirginiaDooley marked this pull request as ready for review December 18, 2023 12:30
@VirginiaDooley VirginiaDooley force-pushed the hotfix/import-next-ppcs branch from db3e3cc to a0d7d70 Compare December 18, 2023 17:15
@VirginiaDooley VirginiaDooley changed the title Add PPCS google sheet url constant Prep PPCS importer Dec 18, 2023
@VirginiaDooley VirginiaDooley changed the title Prep PPCS importer Prep PPCS importer for GE Dec 18, 2023
@VirginiaDooley VirginiaDooley force-pushed the hotfix/import-next-ppcs branch 2 times, most recently from c745a34 to a0d7d70 Compare December 19, 2023 21:26
@VirginiaDooley

This comment was marked as resolved.

@VirginiaDooley

This comment was marked as resolved.

Copy link
Member

@symroe symroe left a comment

Choose a reason for hiding this comment

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

Based on our live testing yesterday I think this is good to go

@VirginiaDooley VirginiaDooley merged commit 79e7cee into master Jan 29, 2024
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.

3 participants