Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 for mr (0.01 seconds)

  1. docs/zh/docs/tutorial/request-form-models.md

    例如,客户端尝试发送如下表单字段:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    他们将收到一条错误响应,表明字段 `extra` 不被允许:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## 总结 { #summary }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/backup/admin_backup.jsp

                                                    <label for="bulkFile" class="mb-2 mr-2"><la:message
                                                            key="labels.backup_bulk_file"/></label>
                                                    <div class="mb-2 mr-sm-2"><input type="file" id="bulkFile"
                                                                                     name="bulkFile"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/request-form-models.md

    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/openapi-callbacks.md

    因此,如果您的 API 用户(外部开发者)发送请求到您的 API:
    
    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    使用如下 JSON 请求体:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    然后,您的 API 就会处理发票,并在某个点之后,发送回调请求至 `callback_url`(外部 API):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    JSON 请求体包含如下内容:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    So, a Python class is also a **callable**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    파이썬 클래스의 인스턴스를 만들 때도 같은 문법을 사용한다는 것을 알 수 있을 겁니다.
    
    예를 들어:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    이 경우 `fluffy`는 클래스 `Cat`의 인스턴스입니다.
    
    그리고 `fluffy`를 만들기 위해 `Cat`을 "호출"하고 있습니다.
    
    따라서 파이썬 클래스도 **호출 가능(callable)**합니다.
    
    그러면 **FastAPI**에서는 파이썬 클래스를 의존성으로 사용할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 8K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    ## 以類別作為相依性 { #classes-as-dependencies_1 }
    
    你可能已經注意到,建立一個 Python 類別的實例時,你用的語法也是一樣的。
    
    例如:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    在這個例子中,`fluffy` 是 `Cat` 類別的一個實例。
    
    而要建立 `fluffy`,你其實是在「呼叫」`Cat`。
    
    所以,Python 類別本身也是一種 **callable**。
    
    因此,在 **FastAPI** 中,你可以將 Python 類別作為相依性。
    
    FastAPI 其實檢查的是它是否為「callable」(函式、類別或其他),以及它所定義的參數。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/openapi-callbacks.md

    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    with a JSON body of:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    then *your API* will process the invoice, and at some point later, send a callback request to the `callback_url` (the *external API*):
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ## 类作为依赖项 { #classes-as-dependencies_1 }
    
    你可能会注意到,要创建一个 Python 类的实例,你可以使用相同的语法。
    
    举个例子:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    在这个例子中, `fluffy` 是一个 `Cat` 类的实例。
    
    为了创建 `fluffy`,你调用了 `Cat` 。
    
    所以,Python 类也是 **可调用对象**。
    
    因此,在 **FastAPI** 中,你可以使用一个 Python 类作为一个依赖项。
    
    实际上 FastAPI 检查的是它是一个 "可调用对象"(函数,类或其他任何类型)以及定义的参数。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/settings.md

            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 255, .1)
            code ->> function: say_hi(name="Rick")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top