Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 671 for tag6 (0.02 seconds)

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

    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Типы множеств { #set-types }
    
    Но затем мы подумали и поняли, что теги не должны повторяться, вероятно, это должны быть уникальные строки.
    
    И в Python есть специальный тип данных для множеств уникальных элементов — `set`.
    
    Тогда мы можем объявить поле `tags` как множество строк:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  2. tests/test_include_router_defaults_overrides.py

            500: {"description": "Server error level 0"},
        },
        default_response_class=ResponseLevel0,
        callbacks=callback_router0.routes,
    )
    
    router2_override = APIRouter(
        prefix="/level2",
        tags=["level2a", "level2b"],
        dependencies=[Depends(dep2)],
        responses={
            402: {"description": "Client error level 2"},
            502: {"description": "Server error level 2"},
        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/PrunedTag.java

        /**
         * Creates a new PrunedTag instance with the specified tag name.
         *
         * @param tag the HTML tag name to match (e.g., "div", "span", "p")
         */
        public PrunedTag(final String tag) {
            this.tag = tag;
        }
    
        /**
         * Checks if this pruned tag configuration matches the given DOM node.
         * The matching is based on tag name, and optionally ID, CSS class, or custom attributes.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

                                    "title": "Tax",
                                    "anyOf": [{"type": "number"}, {"type": "null"}],
                                },
                                "tags": {
                                    "title": "Tags",
                                    "default": [],
                                    "type": "array",
                                    "items": {"type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/metadata.md

    ### 创建标签元数据 { #create-metadata-for-tags }
    
    让我们在带有标签的示例中为 `users` 和 `items` 试一下。
    
    创建标签元数据并把它传递给 `openapi_tags` 参数:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[3:16,18] *}
    
    注意你可以在描述内使用 Markdown,例如「login」会显示为粗体(**login**)以及「fancy」会显示为斜体(_fancy_)。
    
    /// tip | 提示
    
    不必为你使用的所有标签都添加元数据。
    
    ///
    
    ### 使用你的标签 { #use-your-tags }
    
    将 `tags` 参数和*路径操作*(以及 `APIRouter`)一起使用,将其分配给不同的标签:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/path-operation-configuration.md

    ///
    
    ## 태그 { #tags }
    
    (보통 단일 `str`인) `str`로 구성된 `list`와 함께 매개변수 `tags`를 전달하여, *경로 처리*에 태그를 추가할 수 있습니다:
    
    {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *}
    
    전달된 태그들은 OpenAPI의 스키마에 추가되며, 자동 문서 인터페이스에서 사용됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Enum을 사용한 태그 { #tags-with-enums }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. fastapi/openapi/utils.py

    
    def get_openapi_operation_metadata(
        *, route: routing.APIRoute, method: str, operation_ids: set[str]
    ) -> dict[str, Any]:
        operation: dict[str, Any] = {}
        if route.tags:
            operation["tags"] = route.tags
        operation["summary"] = generate_operation_summary(route=route, method=method)
        if route.description:
            operation["description"] = route.description
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  8. docs_src/body_nested_models/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 364 bytes
    - Click Count (0)
  9. src/test/resources/osdd/osdd.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
      <ShortName>Fess</ShortName>
      <Description>Full Text Search for Your Documents.</Description>
      <Tags>Full Text Search</Tags>
      <Contact>******@****.***</Contact>
      <SearchForm>http://localhost:8080/fess/</SearchForm>
      <Url type="text/html" template="http://localhost:8080/fess/search?q={searchTerms}"/>
      <InputEncoding>UTF-8</InputEncoding>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 08 05:17:08 GMT 2024
    - 535 bytes
    - Click Count (0)
  10. docs_src/response_model/tutorial004_py310.py

        name: str
        description: str | None = None
        price: float
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    @app.get("/items/{item_id}", response_model=Item, response_model_exclude_unset=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 595 bytes
    - Click Count (0)
Back to Top