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

fix: waffle flags in flask context #10664

Conversation

aaxelb
Copy link
Contributor

@aaxelb aaxelb commented Jul 12, 2024

Purpose

correct checking of waffle-flags on flask requests

Changes

  • use api.waffle.utils.flag_is_active, not waffle.flag_is_active
  • update api.waffle.utils.flag_is_active to work for either flask or django request

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

(use `api.waffle.utils.flag_is_active`, not `waffle.flag_is_active`)
@aaxelb aaxelb force-pushed the fix/gv-waffle branch 2 times, most recently from 8346ae2 to 366e108 Compare July 12, 2024 15:35
@jwalz jwalz merged commit 106994b into CenterForOpenScience:feature/gravy_valet_integration Jul 15, 2024
6 checks passed
jwalz pushed a commit to jwalz/osf.io that referenced this pull request Jul 16, 2024
jwalz pushed a commit to jwalz/osf.io that referenced this pull request Jul 25, 2024
jwalz pushed a commit to jwalz/osf.io that referenced this pull request Jul 25, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants