{"action":"created","issue":{"url":"https://api.github.com/repos/weecology/retriever/issues/839","repository_url":"https://api.github.com/repos/weecology/retriever","labels_url":"https://api.github.com/repos/weecology/retriever/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/weecology/retriever/issues/839/comments","events_url":"https://api.github.com/repos/weecology/retriever/issues/839/events","html_url":"https://github.com/weecology/retriever/pull/839","id":213125744,"number":839,"title":"Adding the feature to lookup credentials file in reference to #421","user":{"login":"jainamritanshu","id":15127027,"avatar_url":"https://avatars0.githubusercontent.com/u/15127027?v=3","gravatar_id":"","url":"https://api.github.com/users/jainamritanshu","html_url":"https://github.com/jainamritanshu","followers_url":"https://api.github.com/users/jainamritanshu/followers","following_url":"https://api.github.com/users/jainamritanshu/following{/other_user}","gists_url":"https://api.github.com/users/jainamritanshu/gists{/gist_id}","starred_url":"https://api.github.com/users/jainamritanshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainamritanshu/subscriptions","organizations_url":"https://api.github.com/users/jainamritanshu/orgs","repos_url":"https://api.github.com/users/jainamritanshu/repos","events_url":"https://api.github.com/users/jainamritanshu/events{/privacy}","received_events_url":"https://api.github.com/users/jainamritanshu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-09T18:32:54Z","updated_at":"2017-03-09T19:52:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weecology/retriever/pulls/839","html_url":"https://github.com/weecology/retriever/pull/839","diff_url":"https://github.com/weecology/retriever/pull/839.diff","patch_url":"https://github.com/weecology/retriever/pull/839.patch"},"body":"@henrykironde @ethanwhite I have edited the mysql and postgres engines for looking up and falling back to the default credentials provided in the configuration files of the respective databases. The searching method looks a bit untidy in mysql engine, I would love some suggestions on that part. Also I thought of overriding the `get_input()` function but I cleaned up the inputs in postgres. Kindly review the code and suggest any changes I can start working on :smile: "},"comment":{"url":"https://api.github.com/repos/weecology/retriever/issues/comments/285461737","html_url":"https://github.com/weecology/retriever/pull/839#issuecomment-285461737","issue_url":"https://api.github.com/repos/weecology/retriever/issues/839","id":285461737,"user":{"login":"jainamritanshu","id":15127027,"avatar_url":"https://avatars0.githubusercontent.com/u/15127027?v=3","gravatar_id":"","url":"https://api.github.com/users/jainamritanshu","html_url":"https://github.com/jainamritanshu","followers_url":"https://api.github.com/users/jainamritanshu/followers","following_url":"https://api.github.com/users/jainamritanshu/following{/other_user}","gists_url":"https://api.github.com/users/jainamritanshu/gists{/gist_id}","starred_url":"https://api.github.com/users/jainamritanshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainamritanshu/subscriptions","organizations_url":"https://api.github.com/users/jainamritanshu/orgs","repos_url":"https://api.github.com/users/jainamritanshu/repos","events_url":"https://api.github.com/users/jainamritanshu/events{/privacy}","received_events_url":"https://api.github.com/users/jainamritanshu/received_events","type":"User","site_admin":false},"created_at":"2017-03-09T19:52:31Z","updated_at":"2017-03-09T19:52:31Z","body":"@henrykironde I just added an except condition. I would use the `__init__.py` as you suggested. Also I am just adding the default paths for windows where postgres and mysql configuration files could be found. I would do the suggested changes asap"}}
{"actor":{"display_login":"jainamritanshu"}}