(self)
| 99 | return self.repo.split("/")[1] |
| 100 | |
| 101 | async def get_session(self) -> aiohttp.ClientSession: |
| 102 | if self._session is None or self._session.closed: |
| 103 | self._session = aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=60, connect=10)) |
| 104 | return self._session |
| 105 | |
| 106 | async def close(self): |
| 107 | if self._session and not self._session.closed: |
no outgoing calls
no test coverage detected