Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for 49 (0.25 sec)

  1. docs/az/docs/index.md

    Pydantic sayəsində standart Python tiplərindən istifadə edərək <abbr title="Gövdə: Body ">gövdə</abbr>ni müəyyən edək.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  2. docs/en/docs/img/deployment/https/https08.drawio

                            <Array as="points">
                                <mxPoint x="245" y="710"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
                    <mxCell id="49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
                        <mxGeometry x="510" y="400" width="310" height="320" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 20.9K bytes
    - Viewed (0)
  3. docs/vi/docs/index.md

    ## Nâng cấp ví dụ
    
    Bây giờ sửa tệp tin `main.py` để nhận body từ một request `PUT`.
    
    Định nghĩa của body sử dụng kiểu dữ liệu chuẩn của Python, cảm ơn Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  4. docs/en/docs/img/deployment/https/https05.drawio

                                <mxPoint x="-40" y="290"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
                    <mxCell id="49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
                        <mxGeometry x="510" y="400" width="310" height="320" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 15.6K bytes
    - Viewed (0)
  5. docs/yo/docs/index.md

    Ní báyìí ṣe àtúnṣe fáìlì `main.py` láti gba kókó èsì láti inú ìbéèrè `PUT`.
    
    Ní báyìí, ṣe ìkéde kókó èsì API nínú kóòdù rẹ nipa lílo àwọn ìtọ́kasí àmì irúfẹ́ Python, ọpẹ́ pàtàkìsi sí Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  6. docs/en/docs/img/deployment/https/https06.drawio

                                <mxPoint x="-40" y="290"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
                    <mxCell id="49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
                        <mxGeometry x="510" y="400" width="310" height="320" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 17.1K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https07.drawio

                            <Array as="points">
                                <mxPoint x="245" y="710"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
                    <mxCell id="49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
                        <mxGeometry x="510" y="400" width="310" height="320" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  8. docs/tr/docs/index.md

    Şimdi `main.py` dosyasını, `PUT` isteğiyle birlikte bir gövde alacak şekilde değiştirelim.
    
    <abbr title="Gövde: Body">Gövde</abbr>yi Pydantic sayesinde standart python tiplerini kullanarak tanımlayalım.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. docs/uk/docs/index.md

    ## Приклад оновлення
    
    Тепер модифікуйте файл `main.py`, щоб отримати вміст запиту `PUT`.
    
    Оголошуйте вміст запиту за допомогою стандартних типів Python завдяки Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## 範例升級
    
    現在繼續修改 `main.py` 檔案,來接收一個帶有 body 的 `PUT` 請求。
    
    我們使用 Pydantic 來使用標準的 Python 型別聲明請求。
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.8K bytes
    - Viewed (0)
Back to top