Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 514 for IsSame (0.07 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    You would have **one single `engine` object** for all your code to connect to the same database.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[14:18] hl[14:15,17:18] *}
    
    Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    After that, all of the processing logic is the same.
    
    But because of our changes in `GzipRequest.body`, the request body will be automatically decompressed when it is loaded by **FastAPI** when needed.
    
    ## Accessing the request body in an exception handler
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/concepts.md

    * There can be **multiple processes** of the **same program** running at the same time.
    
    If you check out the "task manager" or "system monitor" (or similar tools) in your operating system, you will be able to see many of those processes running.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Same Schema for Input and Output Models in Docs
    
    And now there will be one single schema for input and output for the model, only `Item`, and it will have `description` as **not required**:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image05.png">
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:43:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    //// tab | Python 3.10+
    
    You can use the same builtin types as generics (with square brackets and types inside):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    And the same as with Python 3.8, from the `typing` module:
    
    * `Union`
    * `Optional` (the same as with Python 3.8)
    * ...and others.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    This is the same mechanism used when you give permissions while logging in with Facebook, Google, GitHub, etc:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## JWT token with scopes
    
    Now, modify the token *path operation* to return the scopes requested.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

     * supplied object is the root. Expressions like 'child.name' will translate into
     * 'rootObject.getChild().getName()' for non-boolean properties, and
     * 'rootObject.getChild().isName()' for boolean properties.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class ObjectBasedValueSource extends AbstractValueSource {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    * **Machine Learning**: it normally requires lots of "matrix" and "vector" multiplications. Think of a huge spreadsheet with numbers and multiplying all of them together at the same time.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    But it's still part of the same **FastAPI** application/web API (it's part of the same "Python Package").
    
    You can create the *path operations* for that module using `APIRouter`.
    
    ### Import `APIRouter`
    
    You import it and create an "instance" the same way you would with the class `FastAPI`:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/dataclasses.md

    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top