Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for isSame (0.15 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    If you pass a "callable" as a dependency in **FastAPI**, it will analyze the parameters for that "callable", and process them in the same way as the parameters for a *path operation function*. Including sub-dependencies.
    
    That also applies to callables with no parameters at all. The same as it would be for *path operation functions* with no parameters.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/sql-databases.md

    The argument:
    
    ```Python
    connect_args={"check_same_thread": False}
    ```
    
    ...is needed only for `SQLite`. It's not needed for other databases.
    
    !!! info "Technical Details"
    
        By default SQLite will only allow one thread to communicate with it, assuming that each thread would handle an independent request.
    
        This is to prevent accidentally sharing the same connection for different things (for different requests).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

            default_value = value if value is not inspect.Signature.empty else Required
            if is_path_param:
                # We might check here that `default_value is Required`, but the fact is that the same
                # parameter might sometimes be a path parameter and sometimes not. See
                # `tests/test_infer_param_optionality.py` for an example.
                field_info = params.Path(annotation=use_annotation)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. docs/em/docs/how-to/sql-databases-peewee.md

    ```
    
    !!! tip
        βœ”οΈ 🀯 πŸ‘ˆ πŸš₯ πŸ‘† πŸ’š βš™οΈ 🎏 πŸ’½, πŸ’– ✳, πŸ‘† 🚫 🚫 πŸ”€ 🎻. πŸ‘† πŸ”œ πŸ’ͺ βš™οΈ 🎏 πŸ’ πŸ’½ πŸŽ“.
    
    #### πŸ—’
    
    ❌:
    
    ```Python
    check_same_thread=False
    ```
    
    πŸŒ“ 1️⃣ πŸ‡ΈπŸ‡² πŸ”°:
    
    ```Python
    connect_args={"check_same_thread": False}
    ```
    
    ...⚫️ πŸ’ͺ πŸ•΄ `SQLite`.
    
    !!! info "πŸ“‘ β„Ή"
    
        βš«οΈβ” 🎏 πŸ“‘ β„Ή [πŸ—„ (πŸ”—) πŸ’½](../tutorial/sql-databases.md#_7){.internal-link target=_blank} βœ”.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

                        (param["in"], param["name"]): param
                        for param in parameters
                        if param.get("required")
                    }
                    # Make sure required definitions of the same parameter take precedence
                    # over non-required definitions
                    all_parameters.update(required_parameters)
                    operation["parameters"] = list(all_parameters.values())
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  6. docs/en/docs/index.md

    ## `fastapi-slim`
    
    If you don't want the extra standard optional dependencies, install `fastapi-slim` instead.
    
    When you install with:
    
    ```bash
    pip install fastapi
    ```
    
    ...it includes the same code and dependencies as:
    
    ```bash
    pip install "fastapi-slim[standard]"
    ```
    
    The standard extra dependencies are the ones mentioned above.
    
    ## License
    
    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)
  7. tests/test_response_model_as_return_annotation.py

                    }
                },
                "/response_model-no_annotation-return_same_model": {
                    "get": {
                        "summary": "Response Model No Annotation Return Same Model",
                        "operationId": "response_model_no_annotation_return_same_model_response_model_no_annotation_return_same_model_get",
                        "responses": {
                            "200": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Aug 14 09:49:57 GMT 2023
    - 47.7K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    Linux containers run using the same Linux kernel of the host (machine, virtual machine, cloud server, etc). This just means that they are very lightweight (compared to full virtual machines emulating an entire operating system).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

        You can set `schema_extra` with a `dict` containing any additional data you would like to show up in the generated JSON Schema, including `examples`.
    
    !!! tip
        You could use the same technique to extend the JSON Schema and add your own custom extra info.
    
        For example you could use it to add metadata for a frontend user interface, etc.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. fastapi/encoders.py

            bool,
            Doc(
                """
                Pydantic's `exclude_defaults` parameter, passed to Pydantic models to define
                if it should exclude from the output the fields that had the same default
                value, even when they were explicitly set.
                """
            ),
        ] = False,
        exclude_none: Annotated[
            bool,
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top