Skip to content

Commit 0373c2d

Browse files
committed
Update PolicyEngine API
1 parent 124a635 commit 0373c2d

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,22 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [3.31.0] - 2026-01-14
8+
## [3.31.0] - 2026-01-14 20:30:23
99

1010
### Added
1111

1212
- Modal simulation API support alongside GCP Workflows for economy calculations
13-
- `SimulationAPIModal` class for HTTP-based job submission and polling
14-
- Factory function to select between GCP and Modal backends via `USE_MODAL_SIMULATION_API` env var
15-
- Status constants for both GCP (`ACTIVE`, `SUCCEEDED`, `FAILED`) and Modal (`running`, `complete`, `failed`)
13+
- SimulationAPIModal class for HTTP-based job submission and polling
14+
- Factory function to select between GCP and Modal backends via USE_MODAL_SIMULATION_API env var
15+
- Status constants for both GCP and Modal execution states
1616
- Unit tests for Modal client, factory, and status handling
1717

1818
### Changed
1919

20-
- `EconomyService` now handles both GCP and Modal execution status values
21-
- Added `httpx` dependency for Modal HTTP client
20+
- EconomyService now handles both GCP and Modal execution status values
2221

2322
## [3.30.4] - 2026-01-13 13:30:17
2423

@@ -6335,6 +6334,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
63356334

63366335

63376336

6337+
[3.31.0]: https://github.com/PolicyEngine/policyengine-api/compare/3.30.4...3.31.0
63386338
[3.30.4]: https://github.com/PolicyEngine/policyengine-api/compare/3.30.3...3.30.4
63396339
[3.30.3]: https://github.com/PolicyEngine/policyengine-api/compare/3.30.2...3.30.3
63406340
[3.30.2]: https://github.com/PolicyEngine/policyengine-api/compare/3.30.1...3.30.2

changelog.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5306,3 +5306,15 @@
53065306
changed:
53075307
- Update PolicyEngine US to 1.499.0
53085308
date: 2026-01-13 13:30:17
5309+
- bump: minor
5310+
changes:
5311+
added:
5312+
- Modal simulation API support alongside GCP Workflows for economy calculations
5313+
- SimulationAPIModal class for HTTP-based job submission and polling
5314+
- Factory function to select between GCP and Modal backends via USE_MODAL_SIMULATION_API
5315+
env var
5316+
- Status constants for both GCP and Modal execution states
5317+
- Unit tests for Modal client, factory, and status handling
5318+
changed:
5319+
- EconomyService now handles both GCP and Modal execution status values
5320+
date: 2026-01-14 20:30:23

changelog_entry.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
- bump: minor
2-
changes:
3-
added:
4-
- Modal simulation API support alongside GCP Workflows for economy calculations
5-
- SimulationAPIModal class for HTTP-based job submission and polling
6-
- Factory function to select between GCP and Modal backends via USE_MODAL_SIMULATION_API env var
7-
- Status constants for both GCP and Modal execution states
8-
- Unit tests for Modal client, factory, and status handling
9-
changed:
10-
- EconomyService now handles both GCP and Modal execution status values

policyengine_api/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
POST = "POST"
88
UPDATE = "UPDATE"
99
LIST = "LIST"
10-
VERSION = "3.30.4"
10+
VERSION = "3.31.0"
1111
CURRENT_YEAR = str(datetime.now().year)
1212
COUNTRIES = ("uk", "us", "ca", "ng", "il")
1313
COUNTRY_PACKAGE_NAMES = (

0 commit comments

Comments
 (0)