8000 fix issue with pickle in GitHubSession · smakinson/github3.py@00e4ab5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 00e4ab5

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)
0