PolicyEngine / PolicyEngine/policyengine-api

Remove deprecated district breakdown request flags

Open
#3,727 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18
Forks
33
Avg merge
23h 40m
Merged PRs (30d)
22

Description

Follow-up to the congressional district report-output migration. API v1 now treats include_district_breakdowns and the national-with-breakdowns/national-with-datasets pseudo-dataset selectors as deprecated no-ops for compatibility. After app-v2 no longer sends these inputs and callers have had a compatibility window, remove the query parameter handling, deprecated dataset aliases, and OpenAPI parameter entirely.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the API v1 query-parameter handling, the deprecated dataset aliases, and the OpenAPI parameter for these inputs. Confirm how app-v2’s migration affects callers, then remove the deprecated compatibility pieces and verify that the API no longer exposes or processes them.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, python
Domain
api, backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.