Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / method

_http

codeintel.embeddings.EdgeFirstEmbedder._http

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Called by (1)
SymbolFileResolved by
_edgeembeddings.pysame file
Inside (1)
SymbolFileResolved by
EdgeFirstEmbedderembeddings.pysame file
codeintel.embeddings.EdgeFirstEmbedder._httpbackend/app/codeintel/embeddings.py, lines 390–397Open source
    def _http(self):        import httpx        with self._client_lock:            if self._client is None:                self._client = httpx.Client(base_url=self.base_url, headers=self._headers, timeout=self.timeout,                                            limits=httpx.Limits(max_keepalive_connections=2, keepalive_expiry=300))            return self._client

What the index recorded

Signature
def _http(self):
File
backend/app/codeintel/embeddings.py
Lines
390–397
Parser
python-ast
Git blob
df7f8202f23ca6ad2c57aca5f09b435eb6486d79
Call sites
2 named, 1 resolved, 1 left unlinked
Outside this subset
2 more edges reach code outside the graph shown here

Read it on GitHub at this commit