Skip to content

Commit

Permalink
Merge pull request #1696 from laws-africa/no-bills
Browse files Browse the repository at this point in the history
don't fetch bills from indigo
  • Loading branch information
longhotsummer authored Jan 22, 2024
2 parents acb019f + a14ab8c commit f2d9599
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions peachjam/adapters/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ def get_doc_list(self):
while url:
res = self.client_get(url).json()

# ignore bills
# TODO: later, make this configurable
res["results"] = [r for r in res["results"] if r["nature"] != "bill"]

# Filter by actor, if setting is present
actor = self.settings.get("actor", None)
if actor:
Expand Down

0 comments on commit f2d9599

Please sign in to comment.