fix add-running-sampler-examples-instructions - #19
Cedrick Mwamba (CedrickMwamba) wants to merge 7 commits into
Conversation
|
Hey Cedrick Mwamba (@CedrickMwamba) Thanks so much for jumping on this and putting together a PR, appreciate the effort After digging into it a little, I think the fix needs to go in a different direction. Here's the thing: The user in the issue actually did set the environment variables ( So I'm assuming the fix would actually need to be a code change
Also worth noting, documenting the JSON file approach as the main path asks users to store their API token on disk, which isn't ideal from a security standpoint compared to env vars, and well, is also non-ergonomic. I would suggest inspecting Let me know if you face any issues doing any of these steps, you can read up on To understand syntax and strategy to do this. Do let me know if you face any bottlenecks |
1 similar comment
|
Hey Cedrick Mwamba (@CedrickMwamba) Thanks so much for jumping on this and putting together a PR, appreciate the effort After digging into it a little, I think the fix needs to go in a different direction. Here's the thing: The user in the issue actually did set the environment variables ( So I'm assuming the fix would actually need to be a code change
Also worth noting, documenting the JSON file approach as the main path asks users to store their API token on disk, which isn't ideal from a security standpoint compared to env vars, and well, is also non-ergonomic. I would suggest inspecting Let me know if you face any issues doing any of these steps, you can read up on To understand syntax and strategy to do this. Do let me know if you face any bottlenecks |
Thank you Aaryav (@aaryav-3) , I am working on it. This is solution is better. |
Aaryav (aaryav-3)
left a comment
There was a problem hiding this comment.
Hi Cedrick Mwamba (@CedrickMwamba) thank you for making the changes, this was a great effort, just listing out a few comments and suggestions from my side.
Hi Aaryav (@aaryav-3) , thank you for your feedback. I will apply these changes. |
|
Hi Aaryav (@aaryav-3) , |
Update the readme with instructions of what to do before running the sampler examples.
This will eliminate the error message, because the configuration file is required. Must be added in the your home directory with account information.
Implements proper error handling for configuration loading:
Fixes #128