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

Add @job_result decorator wherever applicable #46

Open
vineetbansal opened this issue Jul 7, 2023 · 0 comments
Open

Add @job_result decorator wherever applicable #46

vineetbansal opened this issue Jul 7, 2023 · 0 comments

Comments

@vineetbansal
Copy link
Collaborator

The @job_result decorator is used for the job_query endpoint, and intercepts the logic to show a generic error page if there's an error (handled or unhandled). This should be used for all endpoints where it makes sense.

We can also modify the base template to handle the PENDING job status, and thus simplify the templates that derive from it, which can then assume that the job ran successfully.

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

No branches or pull requests

1 participant