Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for Every (0.14 sec)

  1. docs_src/schema_extra_example/tutorial004_py310.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                },
                {
                    "name": "Bar",
                    "price": "35.4",
                },
                {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jul 01 16:43:29 GMT 2023
    - 786 bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial005_an.py

                        "description": "A **normal** item works correctly.",
                        "value": {
                            "name": "Foo",
                            "description": "A very nice Item",
                            "price": 35.4,
                            "tax": 3.2,
                        },
                    },
                    "converted": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial005_an_py310.py

                        "description": "A **normal** item works correctly.",
                        "value": {
                            "name": "Foo",
                            "description": "A very nice Item",
                            "price": 35.4,
                            "tax": 3.2,
                        },
                    },
                    "converted": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. SECURITY.md

    # Security Policy
    
    Security is very important for FastAPI and its community. 🔒
    
    Learn more about it below. 👇
    
    ## Versions
    
    The latest version of FastAPI is supported.
    
    You are encouraged to [write tests](https://fastapi.tiangolo.com/tutorial/testing/) for your application and update your FastAPI version frequently after ensuring that your tests are passing. This way you will benefit from the latest features, bug fixes, and **security fixes**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Sep 11 16:15:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

        ```Python hl_lines="20"
        {!> ../../../docs_src/dependencies/tutorial011.py!}
        ```
    
    !!! tip
        All this might seem contrived. And it might not be very clear how is it useful yet.
    
        These examples are intentionally simple, but show how it all works.
    
        In the chapters about security, there are utility functions that are implemented in this same way.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/websockets.md

    Or you might have any other way to communicate with the WebSocket endpoint.
    
    ---
    
    But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string.
    
    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    # Help FastAPI - Get Help
    
    Do you like **FastAPI**?
    
    Would you like to help FastAPI, other users, and the author?
    
    Or would you like to get help with **FastAPI**?
    
    There are very simple ways to help (several involve just one or two clicks).
    
    And there are several ways to get help too.
    
    ## Subscribe to the newsletter
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. fastapi/applications.py

            The first time it is called it stores the result in the attribute
            `app.openapi_schema`, and next times it is called, it just returns that same
            result. To avoid the cost of generating the schema every time.
    
            If you need to modify the generated OpenAPI schema, you could modify it.
    
            Read more in the
            [FastAPI docs for OpenAPI](https://fastapi.tiangolo.com/how-to/extending-openapi/).
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  9. docs/de/docs/contributing.md

    <div class="termy">
    
    ```console
    // Verwenden Sie das Kommando „serve“ nachdem Sie „build-all“ ausgeführt haben.
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Make sure you run the build-all command first.
    Serving at: http://127.0.0.1:8008
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

    
    # Test required and embedded body parameters with no bodies sent
    def test_post_body_example():
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top