Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Chen (0.17 sec)

  1. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/index.md

    And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies).
    
    This is very useful when you need to:
    
    * Have shared logic (the same code logic again and again).
    * Share database connections.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/index.md

    ---
    
    ## Install FastAPI
    
    The first step is to install FastAPI:
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    !!! note
        When you install with `pip install fastapi` it comes with some default optional standard dependencies.
    
        If you don't want to have those optional dependencies, you can instead install `pip install fastapi-slim`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/en/docs/index.md

    * `fastapi-cli` - to provide the `fastapi` command.
    
    When you install `fastapi` it comes these standard dependencies.
    
    ## `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:
    
    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)
  5. docs/en/docs/deployment/index.md

    You could **deploy a server** yourself using a combination of tools, you could use a **cloud service** that does part of the work for you, or other possible options.
    
    I will show you some of the main concepts you should probably keep in mind when deploying a **FastAPI** application (although most of it applies to any other type of web application).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top