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 CinderJob.DECISION_ACTIONS into /constants/ #9492

Closed
eviljeff opened this issue Feb 29, 2024 · 1 comment · Fixed by mozilla/addons-server#21973
Closed

refactor CinderJob.DECISION_ACTIONS into /constants/ #9492

eviljeff opened this issue Feb 29, 2024 · 1 comment · Fixed by mozilla/addons-server#21973

Comments

@eviljeff
Copy link
Member

eviljeff commented Feb 29, 2024

We define the possible values of CinderJob.decision_action in CinderJob.DECISION_ACTIONS but also reference it widely elsewhere. If we refactor to move the definition out of the model it will be easier to use - including in other constants (e.g. the activity constants, where we are defining cinder_action as a string currently)

┆Issue is synchronized with this Jira Task

@KevinMind
Copy link
Contributor

@KevinMind KevinMind transferred this issue from mozilla/addons-server May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants