Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 69 of 69 for uploadeFile (0.1 sec)

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

    ```Python hl_lines="8"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ๐Ÿ“ & ๐Ÿ“จ ๐Ÿ‘ ๐Ÿ”œ ๐Ÿ“‚ ๐Ÿ“จ ๐Ÿ“Š & ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ“ & ๐Ÿ“จ ๐Ÿ‘.
    
    & ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ“ `bytes` & `UploadFile`.
    
    /// warning
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ’— `File` & `Form` ๐Ÿ”ข *โžก ๐Ÿ› ๏ธ*, โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšซ ๐Ÿ“ฃ `Body` ๐Ÿ‘ ๐Ÿ‘ˆ ๐Ÿ‘† โŒ› ๐Ÿ“จ ๐ŸŽป, ๐Ÿ“จ ๐Ÿ”œ โœ”๏ธ ๐Ÿ’ช ๐Ÿ—œ โš™๏ธ `multipart/form-data` โ†ฉ๏ธ `application/json`.
    
    ๐Ÿ‘‰ ๐Ÿšซ ๐Ÿšซ **FastAPI**, โšซ๏ธ ๐Ÿ• ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ› ๏ธ.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/request-forms-and-files.md

    `Body` ๋ฐ `Query`์™€ ๋™์ผํ•œ ๋ฐฉ์‹์œผ๋กœ ํŒŒ์ผ๊ณผ ํผ์˜ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค:
    
    ```Python hl_lines="8"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ํŒŒ์ผ๊ณผ ํผ ํ•„๋“œ๋Š” ํผ ๋ฐ์ดํ„ฐ ํ˜•์‹์œผ๋กœ ์—…๋กœ๋“œ๋˜์–ด ํŒŒ์ผ๊ณผ ํผ ํ•„๋“œ๋กœ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค.
    
    ์–ด๋–ค ํŒŒ์ผ๋“ค์€ `bytes`๋กœ, ๋˜ ์–ด๋–ค ํŒŒ์ผ๋“ค์€ `UploadFile`๋กœ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    /// warning | "๊ฒฝ๊ณ "
    
    ๋‹ค์ˆ˜์˜ `File`๊ณผ `Form` ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ํ•œ *๊ฒฝ๋กœ ์ž‘๋™*์— ์„ ์–ธํ•˜๋Š” ๊ฒƒ์ด ๊ฐ€๋Šฅํ•˜์ง€๋งŒ, ์š”์ฒญ์˜ ๋ณธ๋ฌธ์ด `application/json`๊ฐ€ ์•„๋‹Œ `multipart/form-data`๋กœ ์ธ์ฝ”๋”ฉ ๋˜๊ธฐ ๋•Œ๋ฌธ์— JSON์œผ๋กœ ๋ฐ›์•„์•ผํ•˜๋Š” `Body` ํ•„๋“œ๋ฅผ ํ•จ๊ป˜ ์„ ์–ธํ•  ์ˆ˜๋Š” ์—†์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

                                "title": "Files",
                                "type": "array",
                                "items": {"type": "string", "format": "binary"},
                                "description": "Multiple files as UploadFile",
                            }
                        },
                    },
                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/request-forms-and-files.md

    ```
    
    ////
    
    ะคะฐะนะปั‹ ะธ ะฟะพะปั ั„ะพั€ะผั‹ ะฑัƒะดัƒั‚ ะทะฐะณั€ัƒะถะตะฝั‹ ะฒ ะฒะธะดะต ะดะฐะฝะฝั‹ั… ั„ะพั€ะผั‹, ะธ ะฒั‹ ะฟะพะปัƒั‡ะธั‚ะต ั„ะฐะนะปั‹ ะธ ะฟะพะปั ั„ะพั€ะผั‹.
    
    ะ’ั‹ ะผะพะถะตั‚ะต ะพะฑัŠัะฒะธั‚ัŒ ะฝะตะบะพั‚ะพั€ั‹ะต ั„ะฐะนะปั‹ ะบะฐะบ `bytes`, ะฐ ะฝะตะบะพั‚ะพั€ั‹ะต - ะบะฐะบ `UploadFile`.
    
    /// warning | "ะ’ะฝะธะผะฐะฝะธะต"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. fastapi/_compat.py

    
    def is_uploadfile_or_nonable_uploadfile_annotation(annotation: Any) -> bool:
        if lenient_issubclass(annotation, UploadFile):
            return True
        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
            for arg in get_args(annotation):
                if lenient_issubclass(arg, UploadFile):
                    return True
        return False
    
    
    def is_bytes_sequence_annotation(annotation: Any) -> bool:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial003_an.py

                                "title": "Files",
                                "type": "array",
                                "items": {"type": "string", "format": "binary"},
                                "description": "Multiple files as UploadFile",
                            }
                        },
                    },
                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

        - how-to/configure-swagger-ui.md
        - how-to/testing-database.md
    - Reference (Code API):
      - reference/index.md
      - reference/fastapi.md
      - reference/parameters.md
      - reference/status.md
      - reference/uploadfile.md
      - reference/exceptions.md
      - reference/dependencies.md
      - reference/apirouter.md
      - reference/background.md
      - reference/request.md
      - reference/websockets.md
      - reference/httpconnection.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

    from starlette.concurrency import run_in_threadpool
    from starlette.datastructures import (
        FormData,
        Headers,
        ImmutableMultiDict,
        QueryParams,
        UploadFile,
    )
    from starlette.requests import HTTPConnection, Request
    from starlette.responses import Response
    from starlette.websockets import WebSocket
    from typing_extensions import Annotated, get_args, get_origin
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    ## 0.73.0
    
    ### Features
    
    * โœจ Add support for declaring `UploadFile` parameters without explicit `File()`. PR [#4469](https://github.com/tiangolo/fastapi/pull/4469) by [@tiangolo](https://github.com/tiangolo). New docs: [Request Files - File Parameters with UploadFile](https://fastapi.tiangolo.com/tutorial/request-files/#file-parameters-with-uploadfile).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top