Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for 14 (0.13 sec)

  1. docs/en/docs/python-types.md

        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ alternative"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    #### Using `Union` or `Optional`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/body-fields.md

    ## 모델 어트리뷰트 선언
    
    그 다음 모델 어트리뷰트와 함께 `Field`를 사용할 수 있습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12-15"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-nested-models.md

        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Типы множеств
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. docs/de/docs/python-types.md

        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ Alternative"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    #### `Union` oder `Optional` verwenden?
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body-fields.md

    ## Modellattribute deklarieren
    
    Dann können Sie `Field` mit Modellattributen deklarieren:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12-15"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 29 17:36:19 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/bn/docs/python-types.md

        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ বিকল্প"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    #### `Union` বা `Optional` ব্যবহার
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-fields.md

    ## Declare model attributes
    
    You can then use `Field` with model attributes:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12-15"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body-fields.md

    ## 声明模型属性
    
    然后,使用 `Field` 定义模型的属性:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12-15"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 05:35:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/uk/docs/python-types.md

    Це також означає, що в Python 3.10 ви можете використовувати `Something | None`:
    
    === "Python 3.8 і вище"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8 і вище - альтернатива"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    === "Python 3.10 і вище"
    
        ```Python hl_lines="1"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001_03_an.py

        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top