Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 206 for texts (0.16 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py

                    },
                ]
            }
        )
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.4K bytes
    - Viewed (2)
  2. docs/en/docs/how-to/nosql-databases-couchbase.md

    ```Python hl_lines="36-42"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ### f-strings
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py

                    },
                ]
            }
        )
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/events.md

    ```Python hl_lines="6"
    {!../../../docs_src/events/tutorial002.py!}
    ```
    
    Aqui, a função de manipulação de evento `shutdown` irá escrever uma linha de texto `"Application shutdown"` no arquivo `log.txt`.
    
    !!! info "Informação"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    Dieses bestimmte reguläre Suchmuster prüft, ob der erhaltene Parameter-Wert:
    
    * `^`: mit den nachfolgenden Zeichen startet, keine Zeichen davor hat.
    * `fixedquery`: den exakten Text `fixedquery` hat.
    * `$`: danach endet, keine weiteren Zeichen hat als `fixedquery`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/sql-databases.md

    {!../../../docs_src/sql_databases/sql_app/crud.py!}
    ```
    
    !!! tip
        🏗 🔢 👈 🕴 💡 🔗 ⏮️ 💽 (🤚 👩‍💻 ⚖️ 🏬) 🔬 👆 *➡ 🛠️ 🔢*, 👆 💪 🌖 💪 ♻ 👫 💗 🍕 &amp; 🚮 <abbr title="Automated tests, written in code, that check if another piece of code is working correctly.">⚒ 💯</abbr> 👫.
    
    ### ✍ 💽
    
    🔜 ✍ 🚙 🔢 ✍ 💽.
    
    🔁:
    
    * ✍ 🇸🇲 🏷 *👐* ⏮️ 👆 📊.
    * `add` 👈 👐 🎚 👆 💽 🎉.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  7. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<8.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    ruff ==0.2.0
    dirty-equals ==0.6.0
    # TODO: once removing databases from tutorial, upgrade SQLAlchemy
    # probably when including SQLModel
    sqlalchemy >=1.3.18,<1.4.43
    databases[sqlite] >=0.3.2,<0.7.0
    flask >=1.1.2,<3.0.0
    anyio[trio] >=3.2.1,<4.0.0
    python-jose[cryptography] >=3.3.0,<4.0.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 23:48:42 GMT 2024
    - 496 bytes
    - Viewed (0)
  8. docs/en/docs/advanced/async-tests.md

    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    ```Python
    {!../../../docs_src/async_tests/main.py!}
    ```
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    ```Python
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Run it
    
    You can run your tests as usual via:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. docs/en/docs/help-fastapi.md

    ### Tests
    
    * Help me check that the PR has **tests**.
    
    * Check that the tests **fail** before the PR. 🚨
    
    * Then check that the tests **pass** after the PR. ✅
    
    * Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  10. docs/de/docs/contributing.md

    Und diese Python-Dateien werden beim Generieren der Site in die Dokumentation eingefügt.
    
    ### Dokumentation für Tests
    
    Tatsächlich arbeiten die meisten Tests mit den Beispielquelldateien in der Dokumentation.
    
    Dadurch wird sichergestellt, dass:
    
    * Die Dokumentation aktuell ist.
    * Die Dokumentationsbeispiele ohne Änderung ausgeführt werden können.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top