Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor metadata route and library to properly add generation status within the route, not the library code #2081

Open
anth-volk opened this issue Jan 3, 2025 · 0 comments · May be fixed by #2094
Assignees

Comments

@anth-volk
Copy link
Collaborator

anth-volk commented Jan 3, 2025

At the moment, we use the build_metadata method within PolicyEngineCountry to generate country-level metadata. Ideally, this method should just return the metadata, then the relevant metadata route within the routes/metadata_routes file should add relevant status and message values into the Response object, as visible within the routes/household_routes file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants