Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Contexto (0.04 sec)

  1. fastapi/exceptions.py

                    return f"\n  Endpoint: {self.endpoint_path}"
                return ""
    
            context = f'\n  File "{self.endpoint_file}", line {self.endpoint_line}, in {self.endpoint_function}'
            if self.endpoint_path:
                context += f"\n    {self.endpoint_path}"
            return context
    
        def __str__(self) -> str:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. pyproject.toml

    ]
    
    [tool.coverage.run]
    parallel = true
    data_file = "coverage/.coverage"
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    relative_files = true
    context = '${CONTEXT}'
    dynamic_context = "test_function"
    omit = [
        "docs_src/response_model/tutorial003_04_py39.py",
        "docs_src/response_model/tutorial003_04_py310.py",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. .github/workflows/translate.yml

          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
            command: ${{ fromJson(needs.langs.outputs.commands) }}
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
            with:
              fetch-depth: 0
          - name: Set up Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. fastapi/routing.py

        return merged_lifespan  # type: ignore[return-value]
    
    
    # Cache for endpoint context to avoid re-extracting on every request
    _endpoint_context_cache: dict[int, EndpointContext] = {}
    
    
    def _extract_endpoint_context(func: Any) -> EndpointContext:
        """Extract endpoint context with caching to avoid repeated file I/O."""
        func_id = id(func)
    
        if func_id in _endpoint_context_cache:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    This means that now, if you set a value in a context variable before `yield`, the value would still be available after `yield` (as you would intuitively expect). And it also means that you can reset the context variable with a token afterwards.
    
    For example, this works correctly now:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top