Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for or (0.15 sec)

  1. 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 21 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 08:52:59 GMT 2023
    - 296 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/index.md

    Or it might be the case that you just prefer to take other courses because they adapt better to your learning style.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/index.md

    # How To - Recipes
    
    Here you will see different recipes or "how to" guides for **several topics**.
    
    Most of these ideas would be more or less **independent**, and in most cases you should only need to study them if they apply directly to **your project**.
    
    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    !!! tip
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 591 bytes
    - Viewed (0)
  4. docs/en/docs/deployment/index.md

    For a **web API**, it normally involves putting it in a **remote machine**, with a **server program** that provides good performance, stability, etc, so that your **users** can **access** the application efficiently and without interruptions or problems.
    
    This is in contrast to the **development** stages, where you are constantly changing the code, breaking it and fixing it, stopping and restarting the development server, etc.
    
    ## Deployment Strategies
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. docs/en/docs/index.md

    You do that with standard modern Python types.
    
    You don't have to learn a new syntax, the methods or classes of a specific library, etc.
    
    Just standard **Python 3.8+**.
    
    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:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/index.md

    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    It is **HIGHLY encouraged** that you write or copy the code, edit it and run it locally.
    
    Using it in your editor is what really shows you the benefits of FastAPI, seeing how little code you have to write, all the type checks, autocompletion, etc.
    
    ---
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/index.md

    And it normally is a complex and "difficult" topic.
    
    In many frameworks and systems just handling security and authentication takes a big amount of effort and code (in many cases it can be 50% or more of all the code written).
    
    **FastAPI** provides several tools to help you deal with **Security** easily, rapidly, in a standard way, without having to study and learn all the security specifications.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. 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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs/zh-hant/docs/index.md

    有關更多功能的完整範例,可以參考 <a href="https://fastapi.tiangolo.com/tutorial/">教學 - 使用者指南</a>。
    
    **劇透警告**: 教學 - 使用者指南內容有:
    
    - 對來自不同地方的**參數**進行宣告:像是 **headers**, **cookies**, **form 表單**以及**上傳檔案**。
    - 如何設定 **驗證限制** 像是 `maximum_length` or `regex`。
    - 簡單且非常容易使用的 **<abbr title="也被稱為元件、資源、提供者、服務或是注入">依賴注入</abbr>** 系統。
    - 安全性和身份驗證,包含提供支援 **OAuth2**、**JWT tokens** 和 **HTTP Basic** 驗證。
    - 更進階 (但同樣簡單) 的宣告 **多層次的巢狀 JSON 格式** (感謝 Pydantic)。
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    ## To `async` or not to `async`
    
    As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions.
    
    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top