Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Parts (0.36 sec)

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

    First you need to install `SQLAlchemy`:
    
    <div class="termy">
    
    ```console
    $ pip install sqlalchemy
    
    ---> 100%
    ```
    
    </div>
    
    ## Create the SQLAlchemy parts
    
    Let's refer to the file `sql_app/database.py`.
    
    ### Import the SQLAlchemy parts
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    ### Create a database URL for SQLAlchemy
    
    ```Python hl_lines="5-6"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. docs/en/docs/index.md

    Python 3.8+
    
    FastAPI stands on the shoulders of giants:
    
    * <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> for the web parts.
    * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> for the data parts.
    
    ## Installation
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    It is designed to have functions that receive two parameters, one "request" and one "response". Then you "read" parts from the request, and "write" parts to the response. Because of this design, it is not possible to declare request parameters and bodies with standard Python type hints as function parameters.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. fastapi/openapi/docs.py

        """
        Generate and return the HTML  that loads Swagger UI for the interactive
        API docs (normally served at `/docs`).
    
        You would only call this function yourself if you needed to override some parts,
        for example the URLs to use to load Swagger UI's JavaScript and CSS.
    
        Read more about it in the
        [FastAPI docs for Configure Swagger UI](https://fastapi.tiangolo.com/how-to/configure-swagger-ui/)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Execution of dependencies with `yield`
    
    The sequence of execution is more or less like this diagram. Time flows from top to bottom. And each column is one of the parts interacting or executing code.
    
    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-directly.md

    ## Returning a custom `Response`
    
    The example above shows all the parts you need, but it's not very useful yet, as you could have just returned the `item` directly, and **FastAPI** would put it in a `JSONResponse` for you, converting it to a `dict`, etc. All that by default.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 3K bytes
    - Viewed (0)
  7. docs/en/docs/reference/index.md

    # Reference - Code API
    
    Here's the reference or code API, the classes, functions, parameters, attributes, and
    all the FastAPI parts you can use in your applications.
    
    If you want to **learn FastAPI** you are much better off reading the
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 08:52:59 GMT 2023
    - 296 bytes
    - Viewed (0)
  8. docs/en/docs/project-generation.md

        - 💾 [PostgreSQL](https://www.postgresql.org) as the SQL database.
    - 🚀 [React](https://react.dev) for the frontend.
        - 💃 Using TypeScript, hooks, Vite, and other parts of a modern frontend stack.
        - 🎨 [Chakra UI](https://chakra-ui.com) for the frontend components.
        - 🤖 An automatically generated frontend client.
        - 🦇 Dark mode support.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 21 21:12:21 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/sql-databases-peewee.md

        ├── database.py
        ├── main.py
        └── schemas.py
    ```
    
    This is almost the same structure as we had for the SQLAlchemy tutorial.
    
    Now let's see what each file/module does.
    
    ## Create the Peewee parts
    
    Let's refer to the file `sql_app/database.py`.
    
    ### The standard Peewee code
    
    Let's first check all the normal Peewee code, create a Peewee database:
    
    ```Python hl_lines="3  5  22"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/schema-extra-example.md

    JSON Schema didn't have `examples`, so OpenAPI added it's own `example` field to its own modified version.
    
    OpenAPI also added `example` and `examples` fields to other parts of the specification:
    
    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object" class="external-link" target="_blank">`Parameter Object` (in the specification)</a> that was used by FastAPI's:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top