Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Fabbri (0.24 sec)

  1. docs/em/docs/advanced/dataclasses.md

    4️⃣. `Author` 🎻 ⚙️ `response_model` 🔢.
    
    5️⃣. 👆 💪 ⚙️ 🎏 🐩 🆎 ✍ ⏮️ 🎻 📨 💪.
    
        👉 💼, ⚫️ 📇 `Item` 🎻.
    
    6️⃣. 📥 👥 🛬 📖 👈 🔌 `items` ❔ 📇 🎻.
    
        FastAPI 🎯 <abbr title="converting the data to a format that can be transmitted">✍</abbr> 💽 🎻.
    
    7️⃣. 📥 `response_model` ⚙️ 🆎 ✍ 📇 `Author` 🎻.
    
        🔄, 👆 💪 🌀 `dataclasses` ⏮️ 🐩 🆎 ✍.
    
    8️⃣. 👀 👈 👉 *➡ 🛠️ 🔢* ⚙️ 🥔 `def` ↩️ `async def`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/dataclasses.md

    6. Hier geben wir ein Dictionary zurück, das `items` enthält, welches eine Liste von Datenklassen ist.
    
        FastAPI ist weiterhin in der Lage, die Daten nach JSON zu <abbr title="Konvertieren der Daten in ein übertragbares Format">serialisieren</abbr>.
    
    7. Hier verwendet das `response_model` als Typannotation eine Liste von `Author`-Datenklassen.
    
        Auch hier können Sie `dataclasses` mit Standard-Typannotationen kombinieren.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:18:23 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/dataclasses.md

    3. `Author` 数据类包含 `Item` 数据类列表;
    
    4. `Author` 数据类用于 `response_model` 参数;
    
    5. 其它带有数据类的标准类型注解也可以作为请求体;
    
        本例使用的是 `Item` 数据类列表;
    
    6. 这行代码返回的是包含 `items` 的字典,`items` 是数据类列表;
    
        FastAPI 仍能把数据<abbr title="把数据转换为可以传输的格式">序列化</abbr>为 JSON;
    
    7. 这行代码中,`response_model` 的类型注解是 `Author` 数据类列表;
    
        再一次,可以把 `dataclasses` 与标准类型注解一起使用;
    
    8. 注意,*路径操作函数*使用的是普通函数,不是异步函数;
    
        与往常一样,在 FastAPI 中,可以按需组合普通函数与异步函数;
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:44:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

        In this case, it's a list of `Item` dataclasses.
    
    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <abbr title="converting the data to a format that can be transmitted">serializing</abbr> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top