Skip to content

Conversation

@EliuX
Copy link
Contributor

@EliuX EliuX commented Mar 26, 2020

It fixes the user of env variables in Azure. In addition, having into account that all variables we set are gotten in Python as strings, e.g. True we need to set a convention to what is a Truthy or a falsy value. So I decided to basically allow to specify some falsy discrete values, which are:

  • false
  • 0
  • disabled

Any different string to those ones (case-insensitive) will be considered as True. These values will be contained in the constant time_tracker_api.config.DISABLE_STR_VALUES.

@EliuX EliuX force-pushed the feature/solve-issues-with-azure-env-vars#46 branch 5 times, most recently from 2ac87ba to 5ca9566 Compare March 27, 2020 01:39
@EliuX EliuX force-pushed the feature/solve-issues-with-azure-env-vars#46 branch from 5ca9566 to 160cf18 Compare March 27, 2020 01:53
Copy link
Contributor

@fabidick22 fabidick22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

@EliuX EliuX merged commit 3791b89 into master Mar 27, 2020
@EliuX EliuX deleted the feature/solve-issues-with-azure-env-vars#46 branch March 27, 2020 16:24
@EliuX EliuX self-assigned this Apr 17, 2020
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.

3 participants