Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
get_notifier
codeintel.notify.get_notifier
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 |
|---|---|---|
| Notifier | notify.py | same file |
| RedisNotifier | notify.py | same file |
| UpstashRestNotifier | notify.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| submit_repository | router.py | through an import |
| system_status | router.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| notify | notify.py | same file |
codeintel.notify.get_notifierbackend/app/codeintel/notify.py, lines 112–120Open source
def get_notifier(settings) -> Notifier: key = settings.INGESTION_NOTIFY_KEY if settings.REDIS_URL: return RedisNotifier(settings.REDIS_URL, key) if settings.UPSTASH_REDIS_REST_URL and settings.UPSTASH_REDIS_REST_TOKEN: return UpstashRestNotifier( settings.UPSTASH_REDIS_REST_URL, settings.UPSTASH_REDIS_REST_TOKEN.get_secret_value(), key ) return Notifier()What the index recorded
- Signature
def get_notifier(settings) -> Notifier:- File
backend/app/codeintel/notify.py- Lines
- 112–120
- Parser
- python-ast
- Git blob
fc15788e6d2a98f2857ebab4c81c9c193abb5873- Call sites
- 4 named, 3 resolved, 1 left unlinked
- Outside this subset
- 4 more edges reach code outside the graph shown here
