We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Dataset
1 parent 12506b8 commit 2312af4Copy full SHA for 2312af4
changelog_entry.yaml
@@ -0,0 +1,4 @@
1
+- bump: patch
2
+ changes:
3
+ fixed:
4
+ - Removed bad type check.
policyengine/simulation.py
@@ -37,7 +37,7 @@
37
CountryType = Literal["uk", "us"]
38
ScopeType = Literal["household", "macro"]
39
DataType = (
40
- str | dict[Any, Any] | Dataset | None
+ str | dict[Any, Any] | Any | None
41
) # Needs stricter typing. Any==policyengine_core.data.Dataset, but pydantic refuses for some reason.
42
TimePeriodType = int
43
ReformType = ParametricReform | Type[StructuralReform] | None
0 commit comments