election_day.views.upload.wabsti_exporter ========================================= .. py:module:: election_day.views.upload.wabsti_exporter Functions --------- .. autoapisummary:: election_day.views.upload.wabsti_exporter.authenticated_source election_day.views.upload.wabsti_exporter.view_upload_wabsti_vote election_day.views.upload.wabsti_exporter.view_upload_wabsti_majorz election_day.views.upload.wabsti_exporter.view_upload_wabsti_proporz Module Contents --------------- .. py:function:: authenticated_source(request: onegov.election_day.request.ElectionDayRequest) -> onegov.election_day.models.DataSource .. py:function:: view_upload_wabsti_vote(self: onegov.election_day.models.Canton | onegov.election_day.models.Municipality, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData Upload vote results using the WabstiCExportert 2.2+. Example usage: curl http://localhost:8080/onegov_election_day/xx/upload-wabsti-vote --user : --header "Accept-Language: de_CH" --form "sg_gemeinden=@SG_Gemeinden.csv" --form "sg_geschafte=@SG_Geschaefte.csv" .. py:function:: view_upload_wabsti_majorz(self: onegov.election_day.models.Canton | onegov.election_day.models.Municipality, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData Upload election results using the WabstiCExportert 2.2+. Example usage: curl http://localhost:8080/onegov_election_day/xx/upload-wabsti-majorz --user : --header "Accept-Language: de_CH" --form "wm_gemeinden=@WM_Gemeinden.csv" --form "wm_kandidaten=@WM_Kandidaten.csv" --form "wm_kandidatengde=@WM_KandidatenGde.csv" --form "wm_wahl=@WM_Wahl.csv" --form "wmstatic_gemeinden=@WMStatic_Gemeinden.csv" .. py:function:: view_upload_wabsti_proporz(self: onegov.election_day.models.Canton | onegov.election_day.models.Municipality, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData Upload election results using the WabstiCExportert 2.2+. Example usage: curl http://localhost:8080/onegov_election_day/xx/upload-wabsti-proporz --user : --header "Accept-Language: de_CH" --form "wp_gemeinden=@WP_Gemeinden.csv" --form "wp_kandidaten=@WP_Kandidaten.csv" --form "wp_kandidatengde=@WP_KandidatenGde.csv" --form "wp_listen=@WP_Listen.csv" --form "wp_listengde=@WP_ListenGde.csv" --form "wp_wahl=@WP_Wahl.csv" --form "wpstatic_gemeinden=@WPStatic_Gemeinden.csv" --form "wpstatic_kandidaten=@WPStatic_Kandidaten.csv"