Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for original_context (0.06 seconds)

  1. fastapi/routing.py

        return wrapper
    
    
    def _merge_lifespan_context(
        original_context: Lifespan[Any], nested_context: Lifespan[Any]
    ) -> Lifespan[Any]:
        @asynccontextmanager
        async def merged_lifespan(
            app: AppType,
        ) -> AsyncIterator[Mapping[str, Any] | None]:
            async with original_context(app) as maybe_original_state:
                async with nested_context(app) as maybe_nested_state:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  2. scripts/translate.py

            f"Path must be inside {en_docs_path}"
        )
        out_path = generate_lang_path(lang=language, path=en_path)
        out_path.parent.mkdir(parents=True, exist_ok=True)
        original_content = en_path.read_text(encoding="utf-8")
        old_translation: str | None = None
        if out_path.exists():
            print(f"Found existing translation: {out_path}")
            old_translation = out_path.read_text(encoding="utf-8")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top