Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,205 for itens (0.03 sec)

  1. tests/test_get_model_definitions_formfeed_escape.py

                            "type": "object",
                        },
                        "HTTPValidationError": {
                            "properties": {
                                "detail": {
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError"
                                    },
                                    "title": "Detail",
                                    "type": "array",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001.py hl[11] *}
    
    ### 响应结果
    
    请求为 `http://example.com/items/foo`(`item_id` 为 `「foo」`)时,客户端会接收到 HTTP 状态码 - 200 及如下 JSON 响应结果:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    
    ```
    
    但如果客户端请求 `http://example.com/items/bar`(`item_id` `「bar」` 不存在时),则会接收到 HTTP 状态码 - 404(「未找到」错误)及如下 JSON 响应结果:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. docs_src/path_operation_configuration/tutorial005_py39.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post(
        "/items/",
        response_model=Item,
        summary="Create an item",
        response_description="The created item",
    )
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 736 bytes
    - Viewed (0)
  4. tests/test_ambiguous_params.py

    app = FastAPI()
    
    
    def test_no_annotated_defaults():
        with pytest.raises(
            AssertionError, match="Path parameters cannot have a default value"
        ):
    
            @app.get("/items/{item_id}/")
            async def get_item(item_id: Annotated[int, Path(default=1)]):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2K bytes
    - Viewed (1)
  5. docs/ko/docs/tutorial/dependencies/index.md

    예를 들면, 여러분이 4개의 API 엔드포인트(*경로 작동*)를 가지고 있다고 해봅시다:
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    그 다음 각각에 대해 그저 의존성과 하위 의존성을 사용하여 다른 권한 요구 사항을 추가할 수 있을 겁니다:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    active_user(["active_user"])
    admin_user(["admin_user"])
    paying_user(["paying_user"])
    
    public["/items/public/"]
    private["/items/private/"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/handling-errors.md

    ### The resulting response { #the-resulting-response }
    
    If the client requests `http://example.com/items/foo` (an `item_id` `"foo"`), that client will receive an HTTP status code of 200, and a JSON response of:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the dictionary file with the specified updater.
         * @param updater the updater to use for processing items
         */
        protected void reload(final ProtwordsUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp

                                        <div id="result">
                                            <ol class="row">
                                                <c:forEach var="doc" varStatus="s" items="${documentItems}">
                                                    <li class="col-sm-12">
                                                        <h3 class="title">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/metadata.md

    * `externalDocs`: 外部ドキュメントを説明するための `dict`:
        * `description`: 外部ドキュメントの簡単な説明文である `str`。
        * `url` (**必須**): 外部ドキュメントのURLである `str`。
    
    ### タグのためのメタデータの作成
    
    `users` と `items` のタグを使った例でメタデータの追加を試してみましょう。
    
    タグのためのメタデータを作成し、それを `openapi_tags` パラメータに渡します。
    
    {* ../../docs_src/metadata/tutorial004.py hl[3:16,18] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/additional-responses.md

                    "type": "object",
                    "properties": {
                        "loc": {
                            "title": "Location",
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "msg": {
                            "title": "Message",
                            "type": "string"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:29:26 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top