Create a get_user_id() dependency that extracts the X-User-ID header from incoming requests, making it available to route handlers. The dependency is optional (not enforced) — callers decide whether to use it or require it on specific routes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ml | ||