Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for record (0.16 sec)

  1. docs/en/docs/how-to/async-sql-encode-databases.md

    `**note.dict()` "unpacks" the key value pairs directly, so, `{**note.dict()}` would be, more or less, a copy of `note.dict()`.
    
    And then, we extend that copy `dict`, adding another key-value pair: `"id": last_record_id`:
    
    ```Python
    {**note.dict(), "id": last_record_id}
    ```
    
    So, the final result returned would be something like:
    
    ```Python
    {
        "id": 1,
        "text": "Some note",
        "completed": False,
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/https.md

    You would probably get a cloud server (a virtual machine) or something similar, and it would have a <abbr title="That doesn't change">fixed</abbr> **public IP address**.
    
    In the DNS server(s) you would configure a record (an "`A record`") to point **your domain** to the public **IP address of your server**.
    
    You would probably do this just once, the first time, when setting everything up.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/https.md

    In dem oder den DNS-Server(n) würden Sie einen Eintrag (einen „`A record`“) konfigurieren, um mit **Ihrer Domain** auf die öffentliche **IP-Adresse Ihres Servers** zu verweisen.
    
    Sie würden dies wahrscheinlich nur einmal tun, beim ersten Mal, wenn Sie alles einrichten.
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:46 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/async-sql-databases.md

    ```Python
    {**note.dict()}
    ```
    
    `**note.dict()` 直接**解包**键值对, 因此,`{**note.dict()}` 是 `note.dict()` 的副本。
    
    然后,扩展`dict` 副本,添加键值对`"id": last_record_id`:
    
    ```Python
    {**note.dict(), "id": last_record_id}
    ```
    
    最终返回的结果如下:
    
    ```Python
    {
        "id": 1,
        "text": "Some note",
        "completed": False,
    }
    ```
    
    ## 查看文档
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:44:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs_src/async_sql_databases/tutorial001.py

    
    @app.post("/notes/", response_model=Note)
    async def create_note(note: NoteIn):
        query = notes.insert().values(text=note.text, completed=note.completed)
        last_record_id = await database.execute(query)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/async-sql-databases.md

    ```
    
    `**note.dict()` "unpacks" the key value pairs directly, so, `{**note.dict()}` would be, more or less, a copy of `note.dict()`.
    
    &amp; ⤴️, 👥 ↔ 👈 📁 `dict`, ❎ ➕1️⃣ 🔑-💲 👫: `"id": last_record_id`:
    
    ```Python
    {**note.dict(), "id": last_record_id}
    ```
    
    , 🏁 🏁 📨 🔜 🕳 💖:
    
    ```Python
    {
        "id": 1,
        "text": "Some note",
        "completed": False,
    }
    ```
    
    ## ✅ ⚫️
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-status-code.md

        * `200` is the default status code, which means everything was "OK".
        * Another example would be `201`, "Created". It is commonly used after creating a new record in the database.
        * A special case is `204`, "No Content".  This response is used when there is no content to return to the client, and so the response must not have a body.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  8. tests/test_include_router_defaults_overrides.py

        assert not override4 or "x-level4" in response.headers
        assert not override5 or "x-level5" in response.headers
    
    
    def test_openapi():
        client = TestClient(app)
        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter("always")
            response = client.get("/openapi.json")
            assert issubclass(w[-1].category, UserWarning)
            assert "Duplicate Operation ID" in str(w[-1].message)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/first-steps.md

    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Скопируйте в файл `main.py`.
    
    Запустите сервер в режиме реального времени:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/first-steps.md

    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Kopieren Sie dies in eine Datei `main.py`.
    
    Starten Sie den Live-Server:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top