Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 218 for Raines (0.15 sec)

  1. docs/em/docs/tutorial/first-steps.md

    ### ๐Ÿ” 1๏ธโƒฃ: ๐Ÿ—„ `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` ๐Ÿ ๐ŸŽ“ ๐Ÿ‘ˆ ๐Ÿšš ๐ŸŒ ๐Ÿ› ๏ธ ๐Ÿ‘† ๐Ÿ› ๏ธ.
    
    !!! note "๐Ÿ“ก โ„น"
        `FastAPI` ๐ŸŽ“ ๐Ÿ‘ˆ ๐Ÿ˜– ๐Ÿ”— โšช๏ธโžก๏ธ `Starlette`.
    
        ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŒ <a href="https://www.starlette.io/" class="external-link" target="_blank">๐Ÿ’ƒ</a> ๐Ÿ› ๏ธ โฎ๏ธ `FastAPI` ๐Ÿ’โ€โ™‚๏ธ.
    
    ### ๐Ÿ” 2๏ธโƒฃ: โœ `FastAPI` "๐Ÿ‘"
    
    ```Python hl_lines="3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/async-sql-encode-databases.md

    ```Python hl_lines="4  14  16-22"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    !!! tip
        Notice that all this code is pure SQLAlchemy Core.
    
        `databases` is not doing anything here yet.
    
    ## Import and set up `databases`
    
    * Import `databases`.
    * Create a `DATABASE_URL`.
    * Create a `database` object.
    
    ```Python hl_lines="3  9  12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. cmd/update-notifier.go

    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    	// Populate lines with color coding.
    	line1InColor := fmt.Sprintf(msgLine1Fmt, color.YellowBold(newerThan))
    	line2InColor := fmt.Sprintf(msgLine2Fmt, color.CyanBold(updateString))
    
    	// calculate the rectangular box size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/metadata.md

    โœ ๐Ÿ—ƒ ๐Ÿ‘† ๐Ÿ”– &amp; ๐Ÿšถโ€โ™€๏ธ โšซ๏ธ `openapi_tags` ๐Ÿ”ข:
    
    ```Python hl_lines="3-16  18"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ โœ ๐Ÿ”˜ ๐Ÿ“›, ๐Ÿ–ผ "๐Ÿ’ณ" ๐Ÿ”œ ๐ŸŽฆ ๐Ÿฆ (**๐Ÿ’ณ**) &amp; "๐ŸŽ€" ๐Ÿ”œ ๐ŸŽฆ โ• (_๐ŸŽ€_).
    
    !!! tip
        ๐Ÿ‘† ๐Ÿšซ โœ”๏ธ ๐Ÿšฎ ๐Ÿ—ƒ ๐ŸŒ ๐Ÿ”– ๐Ÿ‘ˆ ๐Ÿ‘† โš™๏ธ.
    
    ### โš™๏ธ ๐Ÿ‘† ๐Ÿ”–
    
    โš™๏ธ `tags` ๐Ÿ”ข โฎ๏ธ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ* (&amp; `APIRouter`โ“‚) ๐Ÿ› ๏ธ ๐Ÿ‘ซ ๐ŸŽ ๐Ÿ”–:
    
    ```Python hl_lines="21  26"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/handling-errors.md

    ใ‚ขใƒ—ใƒช้–‹็™บไธญใซๆœฌไฝ“ใฎใƒญใ‚ฐใ‚’ๅ–ใฃใฆใƒ‡ใƒใƒƒใ‚ฐใ—ใŸใ‚Šใ€ใƒฆใƒผใ‚ถใƒผใซ่ฟ”ใ—ใŸใ‚Šใชใฉใซไฝฟ็”จใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    ```Python hl_lines="14"
    {!../../../docs_src/handling_errors/tutorial005.py!}
    ```
    
    ใ“ใ“ใงใ€ไปฅไธ‹ใฎใ‚ˆใ†ใช็„กๅŠนใช้ …็›ฎใ‚’้€ไฟกใ—ใฆใฟใฆใใ ใ•ใ„:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    ๅ—ไฟกใ—ใŸใƒœใƒ‡ใ‚ฃใ‚’ๅซใ‚€ใƒ‡ใƒผใ‚ฟใŒ็„กๅŠนใงใ‚ใ‚‹ใ“ใจใ‚’็คบใ™ใƒฌใ‚นใƒใƒณใ‚นใŒ่กจ็คบใ•ใ‚Œใพใ™:
    
    ```JSON hl_lines="12 13 14 15"
    {
      "detail": [
        {
          "loc": [
            "body",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    All we need to do is handle the request inside a `try`/`except` block:
    
    ```Python hl_lines="13  15"
    {!../../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error:
    
    ```Python hl_lines="16-18"
    {!../../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/sql-databases.md

    === "๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ &amp; ๐Ÿ”›"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
        {!> ../../../docs_src/sql_databases/sql_app/schemas.py!}
        ```
    
    === "๐Ÿ 3๏ธโƒฃ.9๏ธโƒฃ &amp; ๐Ÿ”›"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ &amp; ๐Ÿ”›"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  8. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Path operations* with `APIRouter`
    
    And then you use it to declare your *path operations*.
    
    Use it the same way you would use the `FastAPI` class:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/path-params.md

    โ†ฉ๏ธ *โžก ๐Ÿ› ๏ธ* ๐Ÿ”ฌ โœ”, ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿ’ญ ๐Ÿ‘ˆ โžก `/users/me` ๐Ÿ“ฃ โญ 1๏ธโƒฃ `/users/{user_id}`:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003.py!}
    ```
    
    โช, โžก `/users/{user_id}` ๐Ÿ”œ ๐Ÿ `/users/me`, "๐Ÿ’ญ" ๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ“จ ๐Ÿ”ข `user_id` โฎ๏ธ ๐Ÿ’ฒ `"me"`.
    
    โžก, ๐Ÿ‘† ๐Ÿšซ๐Ÿ”œ โ†” โžก ๐Ÿ› ๏ธ:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003b.py!}
    ```
    
    ๐Ÿฅ‡ ๐Ÿ• ๐Ÿ”œ ๐Ÿ•ง โš™๏ธ โ†ฉ๏ธ โžก ๐Ÿ ๐Ÿฅ‡.
    
    ## ๐Ÿ” ๐Ÿ’ฒ
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/query-params.md

    ๊ทธ๋ฆฌ๊ณ  ํŠน์ • ์ˆœ์„œ๋กœ ์„ ์–ธํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
    
    ๋งค๊ฐœ๋ณ€์ˆ˜๋“ค์€ ์ด๋ฆ„์œผ๋กœ ๊ฐ์ง€๋ฉ๋‹ˆ๋‹ค:
    
    ```Python hl_lines="8  10"
    {!../../../docs_src/query_params/tutorial004.py!}
    ```
    
    ## ํ•„์ˆ˜ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜
    
    ๊ฒฝ๋กœ๊ฐ€ ์•„๋‹Œ ๋งค๊ฐœ๋ณ€์ˆ˜์— ๋Œ€ํ•œ ๊ธฐ๋ณธ๊ฐ’์„ ์„ ์–ธํ•  ๋•Œ(์ง€๊ธˆ์€ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๋งŒ ๋ณด์•˜์Šต๋‹ˆ๋‹ค), ํ•ด๋‹น ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ํ•„์ˆ˜์ (Required)์ด์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.
    
    ํŠน์ •๊ฐ’์„ ์ถ”๊ฐ€ํ•˜์ง€ ์•Š๊ณ  ์„ ํƒ์ ์œผ๋กœ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด์„  ๊ธฐ๋ณธ๊ฐ’์„ `None`์œผ๋กœ ์„ค์ •ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
    
    ๊ทธ๋Ÿฌ๋‚˜ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ํ•„์ˆ˜๋กœ ๋งŒ๋“ค๋ ค๋ฉด ๋‹จ์ˆœํžˆ ๊ธฐ๋ณธ๊ฐ’์„ ์„ ์–ธํ•˜์ง€ ์•Š์œผ๋ฉด ๋ฉ๋‹ˆ๋‹ค:
    
    ```Python hl_lines="6-7"
    {!../../../docs_src/query_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top