Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
* Fixes a syntax error that caused a bug when POSTing data in http-resilience mode, if
supplying headers or other kwargs.

## 6.25.0 - Apr 14, 2026
* Adds multiple elected official role types for executive branch: treasurer, auditor,
Expand Down
2 changes: 1 addition & 1 deletion openstates/scrape/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def get(self, url, **kwargs):
return super().get(url, **kwargs)

def post(self, url, data=None, json=None, **kwargs):
request_func = lambda: super(Scraper, self).post(url, data=data, json=json**kwargs) # noqa: E731
request_func = lambda: super(Scraper, self).post(url, data=data, json=json, **kwargs) # noqa: E731
if self.http_resilience_mode:
return self.request_resiliently(request_func)
else:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openstates"
version = "6.25.0"
version = "6.25.1"
description = "core infrastructure for the openstates project"
authors = ["James Turk <dev@jamesturk.net>"]
license = "MIT"
Expand Down
Loading