Skip to content

Commit

Permalink
[HOTIFX] fix: default var with cast
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelabre committed Aug 30, 2024
1 parent 337fa3a commit 685150e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/recommendation/api/src/huggy/utils/env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
"RANKING_VERSION_B_ENDPOINT_NAME",
f"recommendation_user_ranking_version_b_{ENV_SHORT_NAME}",
)
NUMBER_OF_RECOMMENDATIONS = os.environ.get(
"NUMBER_OF_RECOMMENDATIONS",
40,
NUMBER_OF_RECOMMENDATIONS = int(
os.environ.get(
"NUMBER_OF_RECOMMENDATIONS",
40,
)
)

0 comments on commit 685150e

Please sign in to comment.