weird error
Browse files
mcp_functions/census_api_calls.py
CHANGED
@@ -89,9 +89,7 @@ def decennial_2020_demographic_profile_fips_lookup(
|
|
89 |
raise ValueError(
|
90 |
"Invalid geography hierarchy provided.",
|
91 |
"Acceptable required_parent_geographies must be provided.",
|
92 |
-
f"{geography_hierarchy} requires the following parent geographies: {find_required_parent_geographies(
|
93 |
-
geography_hierarchy
|
94 |
-
)}",
|
95 |
)
|
96 |
raise RuntimeError(f"Failed to fetch data from the Census API: {e} ") from e
|
97 |
|
|
|
89 |
raise ValueError(
|
90 |
"Invalid geography hierarchy provided.",
|
91 |
"Acceptable required_parent_geographies must be provided.",
|
92 |
+
f"{geography_hierarchy} requires the following parent geographies: {find_required_parent_geographies(geography_hierarchy)}",
|
|
|
|
|
93 |
)
|
94 |
raise RuntimeError(f"Failed to fetch data from the Census API: {e} ") from e
|
95 |
|