Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Husted (0.17 sec)

  1. docs/ru/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Типы множеств
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * 📝 Fix example code with sets in Tutorial - Body - Nested Models 3. PR [#2054](https://github.com/tiangolo/fastapi/pull/2054) by [@hitrust](https://github.com/hitrust).
    * 📝 Fix example code with sets in Tutorial - Body - Nested Models 2. PR [#2053](https://github.com/tiangolo/fastapi/pull/2053) by [@hitrust](https://github.com/hitrust).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  3. docs/de/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Set-Typen
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. tests/test_annotated.py

        assert response.json() == {"foo": "baz"}
    
    
    def test_nested_router():
        app = FastAPI()
    
        router = APIRouter(prefix="/nested")
    
        @router.get("/test")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/nested/test")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/index.md

    It is also built to work as a future reference.
    
    So you can come back and see exactly what you need.
    
    ## Run the code
    
    All the code blocks can be copied and used directly (they are actually tested Python files).
    
    To run any of the examples, copy the code to a file `main.py`, and start `uvicorn` with:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. docs/tr/docs/features.md

    ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
    
    
    Daha önceden düşünüp en imkansız diyebileceğin durumlarda bile otomatik tamamlama alacaksın, örnek olarak `price` JSON body içerisinde (nested bir JSON body de olabilirdi.) direkt olarak istekten geliyor, bu durumda bile oto-tammalama sağlıyor.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/en/docs/index.md

        * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present.
        * All this would also work for deeply nested JSON objects.
    * Convert from and to JSON automatically.
    * Document everything with OpenAPI, that can be used by:
        * Interactive documentation systems.
        * Automatic client code generation systems, for many languages.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  8. docs/en/docs/alternatives.md

    It's the most popular Python framework and is widely trusted. It is used to build systems like Instagram.
    
    It's relatively tightly coupled with relational databases (like MySQL or PostgreSQL), so, having a NoSQL database (like Couchbase, MongoDB, Cassandra, etc) as the main store engine is not very easy.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. tests/test_orjson_response_class.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    from fastapi.testclient import TestClient
    from sqlalchemy.sql.elements import quoted_name
    
    app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/orjson_non_str_keys")
    def get_orjson_non_str_keys():
        key = quoted_name(value="msg", quote=False)
        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Sep 02 10:17:31 GMT 2022
    - 562 bytes
    - Viewed (0)
  10. docs/en/docs/advanced/dataclasses.md

    This way, its schema will show up in the API docs user interface:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## Dataclasses in Nested Data Structures
    
    You can also combine `dataclasses` with other type annotations to make nested data structures.
    
    In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top