Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
_filters
modules.code.router._filters
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 |
|---|---|---|
| resolve_repositories | context.py | through an import |
| Filters | retrieval.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| lookup_symbol | router.py | same file |
| search_code | router.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| router | router.py | same file |
modules.code.router._filtersbackend/app/modules/code/router.py, lines 207–217Open source
def _filters(db: Session, repository: str | None, languages, kinds, path_prefix) -> Filters: try: repos = resolve_repositories(db, repository) except RepositoryNotFound as exc: raise HTTPException(status_code=404, detail={"error": "repository_not_found", "detail": str(exc)}) from exc return Filters( repository_ids=[r.id for r in repos] or None, languages=languages, kinds=kinds, path_prefix=path_prefix, )What the index recorded
- Signature
def _filters(db: Session, repository: str | None, languages, kinds, path_prefix) -> Filters:- File
backend/app/modules/code/router.py- Lines
- 207–217
- Parser
- python-ast
- Git blob
d914024790aaafe7234adda557677b76e4ad73d5- Call sites
- 4 named, 2 resolved, 2 left unlinked
