Back to the room

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

Code Observatory / method

__init__

codeintel.edge_server._Bucket.__init__

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

Inside (1)
SymbolFileResolved by
_Bucketedge_server.pysame file
codeintel.edge_server._Bucket.__init__backend/app/codeintel/edge_server.py, lines 43–45Open source
    def __init__(self, rate: float, burst: int):        self.rate, self.burst, self.tokens, self.at = rate, burst, float(burst), time.monotonic()        self.lock = threading.Lock()

What the index recorded

Signature
def __init__(self, rate: float, burst: int):
File
backend/app/codeintel/edge_server.py
Lines
43–45
Parser
python-ast
Git blob
909dfc0fcf1334828a534248afdadb1c50262110
Call sites
3 named, 0 resolved, 3 left unlinked

Read it on GitHub at this commit