Skip to content

Commit 2afb1a5

Browse files
committed
Document the Github github_url parameter.
1 parent 6992c53 commit 2afb1a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

github2/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def __init__(self, username=None, api_token=None, requests_per_second=None,
2323
The ``cache`` and ``access_token`` parameters
2424
.. versionadded:: 0.4.0
2525
The ``proxy_host`` and ``proxy_port`` parameters
26+
.. versionadded:: 0.7.0
27+
The ``github_url`` parameter
2628
2729
:param str username: your own GitHub username.
2830
:param str api_token: can be found at https://github.com/account
@@ -38,6 +40,8 @@ def __init__(self, username=None, api_token=None, requests_per_second=None,
3840
:param str proxy_host: the hostname for the HTTP proxy, if needed.
3941
:param str proxy_port: the hostname for the HTTP proxy, if needed (will
4042
default to 8080 if a proxy_host is set and no port is set).
43+
:param str github_url: the hostname to connect to, for GitHub
44+
Enterprise support
4145
"""
4246

4347
self.request = GithubRequest(username=username, api_token=api_token,

0 commit comments

Comments
 (0)