Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 100 for Discussion (0.07 sec)

  1. tests/test_top_level_security_scheme_in_openapi.py

    # Test security scheme at the top level, including OpenAPI
    # Ref: https://github.com/fastapi/fastapi/discussions/14263
    # Ref: https://github.com/fastapi/fastapi/issues/14271
    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/privileged.yml

          value: |
            Thanks for your interest in FastAPI! 🚀
    
            If you are not @tiangolo or he didn't ask you directly to create an issue here, please start the conversation in a [Question in GitHub Discussions](https://github.com/fastapi/fastapi/discussions/categories/questions) instead.
      - type: checkboxes
        id: privileged
        attributes:
          label: Privileged issue
          description: Confirm that you are allowed to create an issue here.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 888 bytes
    - Viewed (1)
  3. docs/ru/docs/advanced/advanced-dependencies.md

    Если у вас есть другой сценарий, где нужно раннее завершение зависимости с `yield`, пожалуйста, создайте <a href="https://github.com/fastapi/fastapi/discussions/new?category=questions" class="external-link" target="_blank">вопрос в GitHub Discussions</a> с описанием конкретного кейса и почему вам было бы полезно иметь раннее закрытие для зависимостей с `yield`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/advanced-dependencies.md

    Wenn Sie einen anderen Anwendungsfall haben, der ein frühes Beenden aus einer Abhängigkeit mit `yield` benötigt, erstellen Sie bitte eine <a href="https://github.com/fastapi/fastapi/discussions/new?category=questions" class="external-link" target="_blank">GitHub-Diskussion-Frage</a> mit Ihrem spezifischen Anwendungsfall und warum Sie von einem frühen Schließen für Abhängigkeiten mit `yield` profitieren würden.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. tests/test_no_schema_split.py

    # Test with parts from, and to verify the report in:
    # https://github.com/fastapi/fastapi/discussions/14177
    # Made an issue in:
    # https://github.com/fastapi/fastapi/issues/14247
    from enum import Enum
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, Field
    
    
    class MessageEventType(str, Enum):
        alpha = "alpha"
        beta = "beta"
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. .github/workflows/notify-translations.yml

            required: false
            default: 'false'
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      job:
        runs-on: ubuntu-latest
        permissions:
          discussions: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_union_body_discriminator_annotated.py

    # Ref: https://github.com/fastapi/fastapi/discussions/14495
    
    from typing import Annotated, Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    
    @pytest.fixture(name="client")
    def client_fixture() -> TestClient:
        from fastapi import Body
        from pydantic import Discriminator, Tag
    
        class Cat(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. tests/test_security_scopes_sub_dependency.py

    # Ref: https://github.com/fastapi/fastapi/discussions/6024#discussioncomment-8541913
    
    
    from typing import Annotated
    
    import pytest
    from fastapi import Depends, FastAPI, Security
    from fastapi.security import SecurityScopes
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="call_counts")
    def call_counts_fixture():
        return {
            "get_db_session": 0,
            "get_current_user": 0,
            "get_user_me": 0,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/advanced-dependencies.md

    Se você tiver um caso diferente que precise sair antecipadamente de uma dependência com `yield`, por favor crie uma <a href="https://github.com/fastapi/fastapi/discussions/new?category=questions" class="external-link" target="_blank">Pergunta no GitHub Discussions</a> com o seu caso específico e por que você se beneficiaria de ter o fechamento antecipado para dependências com `yield`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. SECURITY.md

    I (the author, [@tiangolo](https://x.com/tiangolo)) will review it thoroughly and get back to you.
    
    ## Public Discussions
    
    Please restrain from publicly discussing a potential security vulnerability. 🙊
    
    It's better to discuss privately and try to find a solution first, to limit the potential impact as much as possible.
    
    ---
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top