{"action":"opened","issue":{"url":"https://api.github.com/repos/dnaeon/pyinfoblox/issues/8","repository_url":"https://api.github.com/repos/dnaeon/pyinfoblox","labels_url":"https://api.github.com/repos/dnaeon/pyinfoblox/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/dnaeon/pyinfoblox/issues/8/comments","events_url":"https://api.github.com/repos/dnaeon/pyinfoblox/issues/8/events","html_url":"https://github.com/dnaeon/pyinfoblox/issues/8","id":198812232,"number":8,"title":"Add Timeout option to the \"requests\" calls","user":{"login":"racsoce","id":24923565,"avatar_url":"https://avatars.githubusercontent.com/u/24923565?v=3","gravatar_id":"","url":"https://api.github.com/users/racsoce","html_url":"https://github.com/racsoce","followers_url":"https://api.github.com/users/racsoce/followers","following_url":"https://api.github.com/users/racsoce/following{/other_user}","gists_url":"https://api.github.com/users/racsoce/gists{/gist_id}","starred_url":"https://api.github.com/users/racsoce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racsoce/subscriptions","organizations_url":"https://api.github.com/users/racsoce/orgs","repos_url":"https://api.github.com/users/racsoce/repos","events_url":"https://api.github.com/users/racsoce/events{/privacy}","received_events_url":"https://api.github.com/users/racsoce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-04T21:13:10Z","updated_at":"2017-01-04T21:13:10Z","closed_at":null,"body":"Is there a way to add the timeout parameter to change the default value (180) in the request calls?\r\n\r\nI had to add this in the get Object to send the timeout parameter to the \"requests\" get:\r\n\r\n    def get(self, objref=None, timeout=180, **kwargs):\r\n        \"\"\"\r\n        Get Infoblox objects\r\n\r\n        Returns:\r\n            With objref, one Infoblox object,\r\n            in search form, a list of Infoblox objects\r\n\r\n        Raises:\r\n            InfobloxWAPIException\r\n\r\n        \"\"\"\r\n        r = self.session.get(\r\n            self.wapi + (objref if objref is not None else self.objtype),\r\n            params=kwargs, timeout=timeout\r\n        )\r\n"}}
{"actor":{"display_login":"racsoce"}}