logout. Route handler or application helper. This docstring was expanded to make future maintenance easier. Returns: Varies.
()
| 10662 | "QR generation failed for %s: %s", |
| 10663 | value, |
| 10664 | exc, |
| 10665 | exc_info=(type(exc), exc, exc.__traceback__), |
| 10666 | ) |
| 10667 | return _qr_placeholder_data_uri() |
| 10668 | |
| 10669 | |
| 10670 | def _login_link_cards(): |
| 10671 | """Build freshly generated QR cards for every currently available link.""" |
| 10672 | cards = [] |
| 10673 | seen = set() |
| 10674 | |
| 10675 | def add(label, url): |
| 10676 | clean = str(url or "").strip().rstrip("/") |
| 10677 | if not clean or clean in seen: |
| 10678 | return |
| 10679 | seen.add(clean) |
| 10680 | cards.append({ |
nothing calls this directly
no outgoing calls
no test coverage detected