(scope: Scope)
| 881 | |
| 882 | |
| 883 | def _frontend_scope_specificity(scope: Scope) -> int | None: |
| 884 | specificity = scope.get(_FASTAPI_SCOPE_KEY, {}).get( |
| 885 | _FASTAPI_FRONTEND_SPECIFICITY_KEY |
| 886 | ) |
| 887 | if isinstance(specificity, int): |
| 888 | return specificity |
| 889 | return None |
| 890 | |
| 891 | |
| 892 | def _restore_fastapi_scope_key(scope: Scope, key: str, previous: Any) -> None: |
no test coverage detected
searching dependent graphs…