Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pygithub3/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def __set_params(self, config):
self.requester.params.append(per_page)
if config.get('verbose'):
self.requester.config = {'verbose': config['verbose']}
if config.get('timeout'):
self.requester.timeout = config['timeout']

def __parse_kwargs(func):
""" Decorator to put extra args into requests.params """
Expand Down
1 change: 1 addition & 0 deletions pygithub3/services/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Service(object):
:param int per_page: Items in each page of multiple returns
:param str base_url: To support another github-related API (untested)
:param stream verbose: Stream to write debug logs
:param timeout float: Timeout for requests

You can configure the **authentication** with BasicAuthentication (login
and password) and with `OAuth <http://developer.github.com/v3/oauth/>`_ (
Expand Down