MCPcopy Index your code
hub / github.com/OpenOSINT/OpenOSINT / _get

Function _get

openosint/tools/search_github.py:39–48  ·  view source on GitHub ↗
(
    session: aiohttp.ClientSession,
    url: str,
    params: dict | None = None,
)

Source from the content-addressed store, hash-verified

37
38
39async def _get(
40 session: aiohttp.ClientSession,
41 url: str,
42 params: dict | None = None,
43) -> dict | list | None:
44 async with session.get(url, params=params) as resp:
45 if resp.status == 404:
46 return None
47 resp.raise_for_status()
48 return await resp.json()
49
50
51async def _fetch_user(session: aiohttp.ClientSession, login: str) -> dict | None:

Callers 4

_fetch_userFunction · 0.85
_fetch_reposFunction · 0.85
_discover_emailsFunction · 0.85
_search_usersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected