Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 435 for from (0.15 sec)

  1. 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
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    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)
  2. docs/en/docs/tutorial/body-nested-models.md

    ```Python hl_lines="1"
    {!> ../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ### Declare a `list` with a type parameter
    
    To declare types that have type parameters (internal types), like `list`, `dict`, `tuple`:
    
    * If you are in a Python version lower than 3.9, import their equivalent version from the `typing` module
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/handling-errors.md

    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    !!! note "Technische Details"
        Sie können auch `from starlette.requests import Request` und `from starlette.responses import JSONResponse` verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. LICENSES/vendor/github.com/antlr4-go/antlr/v4/LICENSE

    2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
    
    3. Neither name of copyright holders nor the names of its contributors
    may be used to endorse or promote products derived from this software
    without specific prior written permission.
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Mon Apr 22 17:54:32 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/de/docs/reference/staticfiles.md

    Lesen Sie mehr darüber in der [FastAPI-Dokumentation zu statischen Dateien](../tutorial/static-files.md).
    
    Sie können sie direkt von `fastapi.staticfiles` importieren:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:14:58 GMT 2024
    - 426 bytes
    - Viewed (0)
  6. docs/de/docs/reference/uploadfile.md

    # `UploadFile`-Klasse
    
    Sie können *Pfadoperation-Funktionsparameter* als Parameter vom Typ `UploadFile` definieren, um Dateien aus dem Request zu erhalten.
    
    Sie können es direkt von `fastapi` importieren:
    
    ```python
    from fastapi import UploadFile
    ```
    
    ::: fastapi.UploadFile
        options:
            members:
                - file
                - filename
                - size
                - headers
                - content_type
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:09 GMT 2024
    - 495 bytes
    - Viewed (0)
  7. maven-core/src/site/apt/offline-mode.apt

      Offline status should be indicated in the MavenSettings instance, since it
      can conceivably be set from either the settings.xml or the command-line.
    
      In the event the '-o' switch is the impetus for setting offline mode, this
      should result in modification of the active profile in the MavenSettings
      instance, just as definition of the active profile from the command-line
      should result in similar modification. This object is not meant to be
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    #### A Pydantic model from the contents of another
    
    As in the example above we got `user_dict` from `user_in.dict()`, this code:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    would be equivalent to:
    
    ```Python
    UserInDB(**user_in.dict())
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  9. docs/vi/docs/index.md

    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
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    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)
  10. CHANGELOG.md

    ```
    
     *  New: Change the build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM). Both
        native and JavaScript platforms are unstable preview releases and subject to
        backwards-incompatible changes in forthcoming releases.
     *  Fix: Don't crash loading the public suffix database resource in obfuscated builds.
     *  Fix: Don't silently ignore calls to `EventSource.cancel()` made from
        `EventSourceListener.onOpen()`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top