Closed OwenPriceSkelly closed 7 months ago
Attention: 3 lines
in your changes are missing coverage. Please review.
Comparison is base (
442932c
) 75.59% compared to head (0b9731d
) 75.58%.
Files | Patch % | Lines |
---|---|---|
garden_ai/app/main.py | 40.00% | 3 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fixes #284
Overview
The default values in
garden_ai.constants
now point at prod instead of dev. This can be controlled with the environment variableGARDEN_ENV=dev
orGARDEN_ENV=prod
.So that we don't need to worry about accidentally hitting prod ourselves if that env var is left unset, I also added a
.env.shared
file at the project root which setsGARDEN_ENV=dev
. Because this file isn't distributed to pypi, this only applies if thegarden-ai
executable was installed from source (which is always the case in e.g. apoetry shell
).The
.env.shared
won't override existing values, so this works like you'd expect:For quick sanity checking I also added a bit to
garden-ai --version
so that it'll printGARDEN_ENV
if it's been set:Testing
sanity checked DOI minting but haven't done the full end-to-end prod sanity check
Documentation
No docs changes, but I could be persuaded to add something to the contributor guide
📚 Documentation preview 📚: https://garden-ai--409.org.readthedocs.build/en/409/