Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Model (0.16 sec)

  1. fastapi/security/http.py

        def __init__(
            self,
            *,
            scheme: str,
            scheme_name: Optional[str] = None,
            description: Optional[str] = None,
            auto_error: bool = True,
        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(
            self, request: Request
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/concepts.md

    ### Memory per Process
    
    Now, when the program loads things in memory, for example, a machine learning model in a variable, or the contents of a large file in a variable, all that **consumes a bit of the memory (RAM)** of the server.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/settings.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/settings/app03_an/config.py!}
        ```
    
        !!! tip
            The `model_config` attribute is used just for Pydantic configuration. You can read more at <a href="https://docs.pydantic.dev/latest/usage/model_config/" class="external-link" target="_blank">Pydantic Model Config</a>.
    
    === "Pydantic v1"
    
        ```Python hl_lines="9-10"
        {!> ../../../docs_src/settings/app03_an/config_pv1.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  4. docs/vi/docs/index.md

    Chỉ cần sử dụng các chuẩn của **Python**.
    
    Ví dụ, với một tham số kiểu `int`:
    
    ```Python
    item_id: int
    ```
    
    hoặc với một model `Item` phức tạp hơn:
    
    ```Python
    item: Item
    ```
    
    ...và với định nghĩa đơn giản đó, bạn có được:
    
    * Sự hỗ trợ từ các trình soạn thảo, bao gồm:
        * Completion.
        * Kiểm tra kiểu dữ liệu.
    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)
  5. README.md

    Just standard **Python**.
    
    For example, for an `int`:
    
    ```Python
    item_id: int
    ```
    
    or for a more complex `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    * Editor support, including:
        * Completion.
        * Type checks.
    * Validation of data:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. docs/en/docs/index.md

    Just standard **Python**.
    
    For example, for an `int`:
    
    ```Python
    item_id: int
    ```
    
    or for a more complex `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    * Editor support, including:
        * Completion.
        * Type checks.
    * Validation of data:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top