Close connections to the server. Alternatively, use the Github object as a context manager: .. code-block:: python with github.Github(...) as gh: # do something
(self)
| 288 | return Github(**kwargs) |
| 289 | |
| 290 | def close(self) -> None: |
| 291 | """Close connections to the server. Alternatively, use the Github |
| 292 | object as a context manager: |
| 293 | |
| 294 | .. code-block:: python |
| 295 | |
| 296 | with github.Github(...) as gh: |
| 297 | # do something |
| 298 | """ |
| 299 | self.__requester.close() |
| 300 | |
| 301 | def __enter__(self) -> Github: |
| 302 | return self |
no outgoing calls
no test coverage detected