See how your app actually fits together. An interactive, plain-English map of your codebase, drawn by Claude or Codex.
JavaScript ai-codingarchitecture-diagramclaudeclaude-codeclaude-code-plugincodebase-visualizationcodexcodex-plugindeveloper-toolsonboardingopenaivibe-coding
"""Shared dependencies: one checks the caller, one only hands over a database session."""
from fastapi import Header, HTTPException
def get_db_session():
yield object()
def require_admin(authorization: str = Header(...)):
if authorization != "Bearer admin":
raise HTTPException(status_code=401)