Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
notify
codeintel.notify.UpstashRestNotifier.notify
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 symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| _cmd | notify.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| UpstashRestNotifier | notify.py | same file |
codeintel.notify.UpstashRestNotifier.notifybackend/app/codeintel/notify.py, lines 92–98Open source
def notify(self, job_id: str) -> bool: try: self._cmd(["RPUSH", self.key, json.dumps({"job_id": job_id})], timeout=10) return True except Exception as exc: logger.warning("Job notification failed (job stays queued in the DB): %s", type(exc).__name__) return FalseWhat the index recorded
- Signature
def notify(self, job_id: str) -> bool:- File
backend/app/codeintel/notify.py- Lines
- 92–98
- Parser
- python-ast
- Git blob
fc15788e6d2a98f2857ebab4c81c9c193abb5873- Call sites
- 4 named, 2 resolved, 2 left unlinked
- Outside this subset
- 1 more edges reach code outside the graph shown here
