Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. fastapi/routing.py

        return app
    
    
    def _merge_lifespan_context(
        original_context: Lifespan[Any], nested_context: Lifespan[Any]
    ) -> Lifespan[Any]:
        @asynccontextmanager
        async def merged_lifespan(
            app: AppType,
        ) -> AsyncIterator[Optional[Mapping[str, Any]]]:
            async with original_context(app) as maybe_original_state:
                async with nested_context(app) as maybe_nested_state:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (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}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top