Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 388 for Tata (0.38 sec)

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

    `UploadFile` 에는 다음의 `async` 메소드들이 있습니다. 이들은 내부적인 `SpooledTemporaryFile` 을 사용하여 해당하는 파일 메소드를 호출합니다.
    
    * `write(data)`: `data`(`str` 또는 `bytes`)를 파일에 작성합니다.
    * `read(size)`: 파일의 바이트 및 글자의 `size`(`int`)를 읽습니다.
    * `seek(offset)`: 파일 내 `offset`(`int`) 위치의 바이트로 이동합니다.
        * 예) `await myfile.seek(0)` 를 사용하면 파일의 시작부분으로 이동합니다.
    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)
  2. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py

                                            "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                                            "value": {"name": "Bar", "price": "35.4"},
                                        },
                                        "invalid": {
                                            "summary": "Invalid data is rejected with an error",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_03.py

                        "summary": "Create File",
                        "operationId": "create_file_files__post",
                        "requestBody": {
                            "content": {
                                "multipart/form-data": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_create_file_files__post"
                                    }
                                }
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/testing-database.md

    You could want to set up a different database for testing, rollback the data after the tests, pre-fill it with some testing data, etc.
    
    The main idea is exactly the same you saw in that previous chapter.
    
    ## Add tests for the SQL app
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. docs_src/handling_errors/tutorial006.py

        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Aug 09 11:10:33 GMT 2020
    - 928 bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial006.py

    )
    async def read_item_name(item_id: str):
        return items[item_id]
    
    
    @app.get("/items/{item_id}/public", response_model=Item, response_model_exclude=["tax"])
    async def read_item_public_data(item_id: str):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 848 bytes
    - Viewed (0)
  7. docs/en/docs/external-links.md

    Here's an incomplete list of some of them.
    
    !!! tip
        If you have an article, project, tool, or anything related to **FastAPI** that is not yet listed here, create a <a href="https://github.com/tiangolo/fastapi/edit/master/docs/en/data/external_links.yml" class="external-link" target="_blank">Pull Request adding it</a>.
    
    {% for section_name, section_content in external_links.items() %}
    
    ## {{ section_name }}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 22 07:35:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  8. pdm_build.py

    
    def pdm_build_initialize(context: Context) -> None:
        metadata = context.config.metadata
        # Get custom config for the current package, from the env var
        config: Dict[str, Any] = context.config.data["tool"]["tiangolo"][
            "_internal-slim-build"
        ]["packages"][TIANGOLO_BUILD_PACKAGE]
        project_config: Dict[str, Any] = config["project"]
        # Get main optional dependencies, extras
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/generate-clients.md

    ### API Docs
    
    If you go to the API docs, you will see that it has the **schemas** for the data to be sent in requests and received in responses:
    
    <img src="/img/tutorial/generate-clients/image01.png">
    
    You can see those schemas because they were declared with the models in the app.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/https/https01.drawio

                        <mxGeometry x="-140" y="-75" width="500" height="350" as="geometry"/>
                    </mxCell>
                    <mxCell id="29" value="&lt;font face=&quot;Roboto&quot; data-font-src=&quot;https://fonts.googleapis.com/css?family=Roboto&quot; style=&quot;font-size: 24px&quot;&gt;https://someapp.example.com&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;" parent="33" vertex="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.2K bytes
    - Viewed (0)
Back to top