Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for atTotal (0.18 sec)

  1. docs/de/docs/advanced/openapi-callbacks.md

    Stellen Sie sich vor, Sie entwickeln eine Anwendung, mit der Sie Rechnungen erstellen kรถnnen.
    
    Diese Rechnungen haben eine `id`, einen optionalen `title`, einen `customer` (Kunde) und ein `total` (Gesamtsumme).
    
    Der Benutzer Ihrer API (ein externer Entwickler) erstellt mit einem POST-Request eine Rechnung in Ihrer API.
    
    Dann wird Ihre API (beispielsweise):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/openapi-callbacks.md

    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’š ๐Ÿ“„ โ” ๐Ÿ‘ˆ ๐Ÿ”ข ๐Ÿ› ๏ธ *๐Ÿ”œ* ๐Ÿ‘€ ๐Ÿ’–. โšซ๏ธโ” *โžก ๐Ÿ› ๏ธ* โšซ๏ธ ๐Ÿ”œ โœ”๏ธ, โšซ๏ธโ” ๐Ÿ’ช โšซ๏ธ ๐Ÿ”œ โŒ›, โšซ๏ธโ” ๐Ÿ“จ โšซ๏ธ ๐Ÿ”œ ๐Ÿ“จ, โ™’๏ธ.
    
    ## ๐Ÿ“ฑ โฎ๏ธ โฒ
    
    โžก๏ธ ๐Ÿ‘€ ๐ŸŒ ๐Ÿ‘‰ โฎ๏ธ ๐Ÿ–ผ.
    
    ๐ŸŒˆ ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ“ฑ ๐Ÿ‘ˆ โœ” ๐Ÿ— ๐Ÿงพ.
    
    ๐Ÿ‘‰ ๐Ÿงพ ๐Ÿ”œ โœ”๏ธ `id`, `title` (๐Ÿ“ฆ), `customer`, & `total`.
    
    ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ‘† ๐Ÿ› ๏ธ (๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป) ๐Ÿ”œ โœ ๐Ÿงพ ๐Ÿ‘† ๐Ÿ› ๏ธ โฎ๏ธ ๐Ÿค ๐Ÿ“จ.
    
    โคด๏ธ ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ”œ (โžก๏ธ ๐ŸŒˆ):
    
    * ๐Ÿ“จ ๐Ÿงพ ๐Ÿ•ด ๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป.
    * ๐Ÿ“ˆ ๐Ÿ’ธ.
    * ๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”™ ๐Ÿ› ๏ธ ๐Ÿ‘ฉโ€๐Ÿ’ป (๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. docs_src/openapi_callbacks/tutorial001.py

    from fastapi import APIRouter, FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Invoice(BaseModel):
        id: str
        title: Union[str, None] = None
        customer: str
        total: float
    
    
    class InvoiceEvent(BaseModel):
        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    invoices_callback_router = APIRouter()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/concepts.md

    For example, if your code loads a Machine Learning model with **1 GB in size**, when you run one process with your API, it will consume at least 1 GB of RAM. And if you start **4 processes** (4 workers), each will consume 1 GB of RAM. So in total, your API will consume **4 GB of RAM**.
    
    And if your remote server or virtual machine only has 3 GB of RAM, trying to load more than 4 GB of RAM will cause problems. ๐Ÿšจ
    
    ### Multiple Processes - An Example
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                                {"title": "Title", "type": "string"}
                            ),
                            "customer": {"title": "Customer", "type": "string"},
                            "total": {"title": "Total", "type": "number"},
                        },
                    },
                    "InvoiceEvent": {
                        "title": "InvoiceEvent",
                        "required": ["description", "paid"],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/openapi-callbacks.md

    ## An app with callbacks
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/openapi-callbacks.md

    API ๅบ”็”จ่ฐƒ็”จๅค–้ƒจ API ๆ—ถ็š„ๆต็จ‹ๅซๅš**ๅ›ž่ฐƒ**ใ€‚ๅ› ไธบๅค–้ƒจๅผ€ๅ‘่€…็ผ–ๅ†™็š„่ฝฏไปถๅ‘้€่ฏทๆฑ‚่‡ณๆ‚จ็š„ API๏ผŒ็„ถๅŽๆ‚จ็š„ API ่ฆ่ฟ›่กŒๅ›ž่ฐƒ๏ผŒๅนถๆŠŠ่ฏทๆฑ‚ๅ‘้€่‡ณๅค–้ƒจ APIใ€‚
    
    ๆญคๆ—ถ๏ผŒๆˆ‘ไปฌ้œ€่ฆๅญ˜ๆกฃๅค–้ƒจ API ็š„*ไฟกๆฏ*๏ผŒๆฏ”ๅฆ‚ๅบ”่ฏฅๆœ‰ๅ“ชไบ›*่ทฏๅพ„ๆ“ไฝœ*๏ผŒ่ฟ”ๅ›žไป€ไนˆๆ ท็š„่ฏทๆฑ‚ไฝ“๏ผŒๅบ”่ฏฅ่ฟ”ๅ›žๅ“ช็งๅ“ๅบ”็ญ‰ใ€‚
    
    ## ไฝฟ็”จๅ›ž่ฐƒ็š„ๅบ”็”จ
    
    ็คบไพ‹ๅฆ‚ไธ‹ใ€‚
    
    ๅ‡่ฎพ่ฆๅผ€ๅ‘ไธ€ไธชๅˆ›ๅปบๅ‘็ฅจ็š„ๅบ”็”จใ€‚
    
    ๅ‘็ฅจๅŒ…ๆ‹ฌ `id`ใ€`title`๏ผˆๅฏ้€‰๏ผ‰ใ€`customer`ใ€`total` ็ญ‰ๅฑžๆ€งใ€‚
    
    API ็š„็”จๆˆท ๏ผˆๅค–้ƒจๅผ€ๅ‘่€…๏ผ‰่ฆๅœจๆ‚จ็š„ API ๅ†…ไฝฟ็”จ POST ่ฏทๆฑ‚ๅˆ›ๅปบไธ€ๆกๅ‘็ฅจ่ฎฐๅฝ•ใ€‚
    
    ๏ผˆๅ‡่ฎพ๏ผ‰ๆ‚จ็š„ API ๅฐ†๏ผš
    
    * ๆŠŠๅ‘็ฅจๅ‘้€่‡ณๅค–้ƒจๅผ€ๅ‘่€…็š„ๆถˆ่ดน่€…
    * ๅฝ’้›†็Žฐ้‡‘
    * ๆŠŠ้€š็Ÿฅๅ‘้€่‡ณ API ็š„็”จๆˆท๏ผˆๅค–้ƒจๅผ€ๅ‘่€…๏ผ‰
        * ้€š่ฟ‡๏ผˆไปŽๆ‚จ็š„ API๏ผ‰ๅ‘้€ POST ่ฏทๆฑ‚่‡ณๅค–้ƒจ API ๏ผˆๅณ**ๅ›ž่ฐƒ**๏ผ‰ๆฅๅฎŒๆˆ
    
    ## ๅธธ่ง„ **FastAPI** ๅบ”็”จ
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:46:28 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. docs/en/docs/js/custom.js

        return data
    }
    
    async function getData() {
        let page = 1
        let data = []
        let dataBatch = await getDataBatch(page)
        data = data.concat(dataBatch.items)
        const totalCount = dataBatch.total_count
        while (data.length < totalCount) {
            page += 1
            dataBatch = await getDataBatch(page)
            data = data.concat(dataBatch.items)
        }
        return data
    }
    
    function setupTermynal() {
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  9. tests/test_sub_callbacks.py

                        "Event": {
                            "title": "Event",
                            "required": ["name", "total"],
                            "type": "object",
                            "properties": {
                                "name": {"title": "Name", "type": "string"},
                                "total": {"title": "Total", "type": "number"},
                            },
                        },
                        "HTTPValidationError": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-data-types.md

        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `14:23:55.003`.
    * `datetime.timedelta`:
        * A Python `datetime.timedelta`.
        * In requests and responses will be represented as a `float` of total seconds.
        * Pydantic also allows representing it as a "ISO 8601 time diff encoding", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">see the docs for more info</a>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top