Visitar URL original
fix issue with pickle in GitHubSession · github3py/github3py@00e4ab5 · GitHub
Skip to content

Commit 00e4ab5

Browse files
committed
fix issue with pickle in GitHubSession
1 parent c91f7d0 commit 00e4ab5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎github3/session.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def __init__(self):
3434
})
3535
self.base_url = 'https://api.github.com'
3636
self.two_factor_auth_cb = None
37+
self.__attrs__.extend(['base_url', 'two_factor_auth_cb'])
3738

3839
def basic_auth(self, username, password):
3940
"""Set the Basic Auth credentials on this Session.

0 commit comments

Comments
 (0)