-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
Not too concerned with the mypy issues for these examples |
53d6a5b
to
0203cbf
Compare
example/README.md
Outdated
@@ -8,7 +8,7 @@ source venv/bin/activate | |||
pip install -r requirements.txt | |||
``` | |||
|
|||
Set your API key in `main.py`: | |||
Set your API key in `01_script.py`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other two examples read from the EPPO_API_KEY
env var. I'd recommend updating this to say to also set the env var, or make it consistent across the examples/use env var for all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes see where you are coming from. I wanted to keep the script simple and just copy-pasting in the API key seems the best way for the very first script. The other examples show more of the best-practice. Agreed we should make it clearer how to set up though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one minor comment re: the README, overall LGTM
Motivation and Context
Updates our examples, adds a FastAPI example and a bandit example
Description
Updated the examples/ folder to add additional examples.
How has this been tested?
Runs locally