Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 245 for tutorial001_an_py39 (0.22 sec)

  1. tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py

    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.additional_status_codes.tutorial001_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_update(client: TestClient):
        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 737 bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/first-steps.md

    ## `main.py` erstellen
    
    Kopieren Sie das Beispiel in eine Datei `main.py`:
    
    //// tab | Python 3.9+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/cookie-param-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="9-12  16"
    {!> ../../docs_src/cookie_param_models/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9-12  16"
    {!> ../../docs_src/cookie_param_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10-13  17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 07 20:18:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_forms.tutorial001_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/cookie-param-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="9-12  16"
    {!> ../../docs_src/cookie_param_models/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9-12  16"
    {!> ../../docs_src/cookie_param_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10-13  17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/dependencies/index.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8-11"
    {!> ../../docs_src/dependencies/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-12"
    {!> ../../docs_src/dependencies/tutorial001_an.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_header_param_models/test_tutorial001.py

            pytest.param("tutorial001_py39", marks=needs_py39),
            pytest.param("tutorial001_py310", marks=needs_py310),
            "tutorial001_an",
            pytest.param("tutorial001_an_py39", marks=needs_py39),
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.header_param_models.{request.param}")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-param-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="9-13  17"
    {!> ../../docs_src/query_param_models/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8-12  16"
    {!> ../../docs_src/query_param_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10-14  18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 09:53:14 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/additional-status-codes.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  26"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/additional-status-codes.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  26"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top