Skip to content

Conversation

@imenattatra
Copy link

@imenattatra imenattatra commented Dec 13, 2024

What type of PR is this?

Description

Fixing an error we are having when scheduled tasks to send email about failing queries run.

So, apparently flask has two contexts, the app one and the request one ... here it seems to be about the request one. We just simplify the code and get the currently selected language from the env variable BABEL_DEFAULT_LOCALE

How is this tested?

  • Unit tests (pytest, jest)

...merging it right away because i need to deploy as a hotfix

@imenattatra imenattatra merged commit 3382af5 into metr-main Dec 13, 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.

2 participants