mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-06-16 04:42:09 +00:00
Merge branch 'main' of https://github.com/VarMonke/Github-Api-Wrapper
This commit is contained in:
commit
d583431643
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ class http:
|
||||||
auth=self.auth,
|
auth=self.auth,
|
||||||
trace_configs=[trace_config],
|
trace_configs=[trace_config],
|
||||||
)
|
)
|
||||||
|
if not hasattr(self.session, "_rates"):
|
||||||
|
self.session._rates = Rates('', '', '', '', '')
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def update_headers(self, *, flush: bool = False, new_headers: Dict[str, Union[str, int]]):
|
def update_headers(self, *, flush: bool = False, new_headers: Dict[str, Union[str, int]]):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue