Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Content (0.13 sec)

  1. docs/em/docs/tutorial/request-files.md

    * `close()`: ๐Ÿ” ๐Ÿ“.
    
    ๐ŸŒ ๐Ÿ‘ซ ๐Ÿ‘ฉโ€๐Ÿ”ฌ `async` ๐Ÿ‘ฉโ€๐Ÿ”ฌ, ๐Ÿ‘† ๐Ÿ’ช "โŒ›" ๐Ÿ‘ซ.
    
    ๐Ÿ–ผ, ๐Ÿ”˜ `async` *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* ๐Ÿ‘† ๐Ÿ’ช ๐Ÿคš ๐ŸŽš โฎ๏ธ:
    
    ```Python
    contents = await myfile.read()
    ```
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ”˜ ๐Ÿ˜ `def` *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ” `UploadFile.file` ๐Ÿ”—, ๐Ÿ–ผ:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    !!! note "`async` ๐Ÿ“ก โ„น"
        ๐Ÿ•โ” ๐Ÿ‘† โš™๏ธ `async` ๐Ÿ‘ฉโ€๐Ÿ”ฌ, **FastAPI** ๐Ÿƒ ๐Ÿ“ ๐Ÿ‘ฉโ€๐Ÿ”ฌ ๐Ÿงต & โŒ› ๐Ÿ‘ซ.
    
    !!! note "๐Ÿ’ƒ ๐Ÿ“ก โ„น"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/request-files.md

    * `close()`: ํŒŒ์ผ์„ ๋‹ซ์Šต๋‹ˆ๋‹ค.
    
    ์ƒ๊ธฐ ๋ชจ๋“  ๋ฉ”์†Œ๋“œ๋“ค์ด `async` ๋ฉ”์†Œ๋“œ์ด๊ธฐ ๋•Œ๋ฌธ์— โ€œawaitโ€์„ ์‚ฌ์šฉํ•˜์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.
    
    ์˜ˆ๋ฅผ๋“ค์–ด, `async` *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜*์˜ ๋‚ด๋ถ€์—์„œ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ๋‚ด์šฉ์„ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python
    contents = await myfile.read()
    ```
    
    ๋งŒ์•ฝ ์ผ๋ฐ˜์ ์ธ `def` *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜*์˜ ๋‚ด๋ถ€๋ผ๋ฉด, ๋‹ค์Œ๊ณผ ๊ฐ™์ด `UploadFile.file` ์— ์ง์ ‘ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    !!! note  "`async` ๊ธฐ์ˆ ์  ์„ธ๋ถ€์‚ฌํ•ญ"
        `async` ๋ฉ”์†Œ๋“œ๋“ค์„ ์‚ฌ์šฉํ•  ๋•Œ **FastAPI**๋Š” ์Šค๋ ˆ๋“œํ’€์—์„œ ํŒŒ์ผ ๋ฉ”์†Œ๋“œ๋“ค์„ ์‹คํ–‰ํ•˜๊ณ  ๊ทธ๋“ค์„ ๊ธฐ๋‹ค๋ฆฝ๋‹ˆ๋‹ค.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-files.md

    * `close()`๏ผšๅ…ณ้—ญๆ–‡ไปถใ€‚
    
    ๅ› ไธบไธŠ่ฟฐๆ–นๆณ•้ƒฝๆ˜ฏ `async` ๆ–นๆณ•๏ผŒ่ฆๆญ้…ใ€Œawaitใ€ไฝฟ็”จใ€‚
    
    ไพ‹ๅฆ‚๏ผŒๅœจ `async` *่ทฏๅพ„ๆ“ไฝœๅ‡ฝๆ•ฐ* ๅ†…๏ผŒ่ฆ็”จไปฅไธ‹ๆ–นๅผ่ฏปๅ–ๆ–‡ไปถๅ†…ๅฎน๏ผš
    
    ```Python
    contents = await myfile.read()
    ```
    
    ๅœจๆ™ฎ้€š `def` *่ทฏๅพ„ๆ“ไฝœๅ‡ฝๆ•ฐ*  ๅ†…๏ผŒๅˆ™ๅฏไปฅ็›ดๆŽฅ่ฎฟ้—ฎ `UploadFile.file`๏ผŒไพ‹ๅฆ‚๏ผš
    
    ```Python
    contents = myfile.file.read()
    ```
    
    !!! note "`async` ๆŠ€ๆœฏ็ป†่Š‚"
    
        ไฝฟ็”จ `async` ๆ–นๆณ•ๆ—ถ๏ผŒ**FastAPI** ๅœจ็บฟ็จ‹ๆฑ ไธญๆ‰ง่กŒๆ–‡ไปถๆ–นๆณ•๏ผŒๅนถ `await` ๆ“ไฝœๅฎŒๆˆใ€‚
    
    !!! note "Starlette ๆŠ€ๆœฏ็ป†่Š‚"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top