Skip to content

Commit cf9ade8

Browse files
committed
Adjust parameters for changes in PyGithub 1.55
Fixes Sentry KIWI-TCMS-H5 https://sentry.io/organizations/kiwitcms/issues/2693093657/
1 parent 428eae6 commit cf9ade8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tcms_github_app/utils.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,23 @@ def __init__( # pylint: disable=too-many-arguments
3535
jwt=None,
3636
base_url=github.MainClass.DEFAULT_BASE_URL,
3737
timeout=github.MainClass.DEFAULT_TIMEOUT,
38-
client_id=None,
39-
client_secret=None,
4038
user_agent="PyGithub/Python",
4139
per_page=github.MainClass.DEFAULT_PER_PAGE,
4240
verify=True,
4341
retry=None,
42+
pool_size=None,
4443
):
4544
super().__init__(
4645
login_or_token,
4746
password,
4847
jwt,
4948
base_url,
5049
timeout,
51-
client_id,
52-
client_secret,
5350
user_agent,
5451
per_page,
5552
verify,
5653
retry,
54+
pool_size,
5755
)
5856

5957
# create our own b/c we can't access self.__requester from parent class
@@ -63,12 +61,11 @@ def __init__( # pylint: disable=too-many-arguments
6361
jwt,
6462
base_url,
6563
timeout,
66-
client_id,
67-
client_secret,
6864
user_agent,
6965
per_page,
7066
verify,
7167
retry,
68+
pool_size,
7269
)
7370

7471
def get_installation(self, inst_id):

0 commit comments

Comments
 (0)