massenergize / api

Backend Code for Massenergize Portal. This provides the API to the backend database, and is shared by the various front-end portal projects.
MIT License
5 stars 9 forks source link

Fix/google translate key fetching #1143

Closed archx3 closed 3 months ago

archx3 commented 3 months ago

Summary / Highlights

Added a fix for the process of fetching and using the the google cloud translate key file. The previous process only worked locally

Details (Give details about what this PR accomplishes, include any screenshots etc)

Testing Steps (Provide details on how your changes can be tested)

Add

Requirements (place an x in each [ ])

Transparency (Project board)
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 88.33333% with 28 lines in your changes missing coverage. Please review.

Project coverage is 56.05%. Comparing base (30deafd) to head (29b8fad).

Files Patch % Lines
src/_main_/utils/translation/struct_flattener.py 87.00% 13 Missing :warning:
src/_main_/utils/stage/__init__.py 0.00% 8 Missing :warning:
src/_main_/utils/utils.py 54.54% 5 Missing :warning:
src/api/tests/unit/utils/test_struct_flattener.py 98.94% 1 Missing :warning:
src/api/tests/unit/utils/test_write_json_file.py 95.83% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1143 +/- ## ========================================== + Coverage 55.80% 56.05% +0.25% ========================================== Files 458 461 +3 Lines 33716 33947 +231 ========================================== + Hits 18816 19030 +214 - Misses 14900 14917 +17 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.