We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 125928c commit 6be1f48Copy full SHA for 6be1f48
gh_org_mgr/_gh_org.py
@@ -19,6 +19,7 @@
19
from github.NamedUser import NamedUser
20
from github.Organization import Organization
21
from github.Repository import Repository
22
+from github.Requester import Requester
23
from github.Team import Team
24
from jwt.exceptions import InvalidKeyError
25
@@ -763,7 +764,16 @@ def _create_perms_changelist_for_teams(
763
764
)
765
# Initialise a new Team() object with the name, manually
766
team = Team(
- requester=None, # type: ignore
767
+ requester=Requester(
768
+ auth=None,
769
+ base_url="https://api.github.com",
770
+ timeout=10,
771
+ user_agent="",
772
+ per_page=100,
773
+ verify=True,
774
+ retry=3,
775
+ pool_size=200,
776
+ ),
777
headers={}, # No headers required
778
attributes={
779
"id": 0,
0 commit comments