-
Notifications
You must be signed in to change notification settings - Fork 4
Create documentation for .env file #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
Looks great. Left one suggestion to the instructions that add a bit more clarity there. Let me know if that makes sense
Co-authored-by: John Halz <johnwalz97@gmail.com>
@johnwalz97 Makes sense, I think it makes the instructions more clear. Thanks for your help! |
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.
Another great PR from you, thank you! 🚀 I left some minor comments for you.
%load_ext dotenv | ||
%dotenv dev.env | ||
\``` | ||
|
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.
Would it maybe make sense to add an example that shows what the completed notebook snippet looks like? This way, people have more of an example they can compare their own to. I think we could likely just grab something from the earlier version of John's notebook.
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.
I added the snippet from this notebook as an example: https://docs.validmind.ai/notebooks/how_to/implementing_custom_tests.html
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.
Thank you, that looks good.
Co-authored-by: Nik Richers <nik@validmind.ai>
Co-authored-by: Nik Richers <nik@validmind.ai>
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.
Looks good to me, thank you so much, @sydneysugar!
Internal Notes for Reviewers
Created documentation for storing credentials in a .env file, since the 'before you begin' section updates for this pull request use inline credentials. Once this PR is approved, the notebooks need to be updated to link to the new documentation.
External Release Notes
New documentation for storing project credentials in a '.env' file. This documentation explains how to modify notebooks to do this and why it is a best practice for security.