Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 889 for item01 (0.31 sec)

  1. docs_src/query_params/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: str, q: Union[str, None] = None):
        if q:
            return {"item_id": item_id, "q": q}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 251 bytes
    - Viewed (0)
  2. docs/zh/docs/python-types.md

    由于列表是带有"子类型"的类型,所以我们把子类型放在方括号中:
    
    {* ../../docs_src/python_types/tutorial006.py hl[4] *}
    
    
    这表示:"变量 `items` 是一个 `list`,并且这个列表里的每一个元素都是 `str`"。
    
    这样,即使在处理列表中的元素时,你的编辑器也可以提供支持。
    
    没有类型,几乎是不可能实现下面这样:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image05.png">
    
    注意,变量 `item` 是列表 `items` 中的元素之一。
    
    而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。
    
    #### 元组和集合
    
    声明 `tuple` 和 `set` 的方法也是一样的:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 18 06:34:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/resources/fess_message_nl.properties

    constraints.URL.message = {item} is geen geldige URL.
    constraints.Required.message = {item} is vereist.
    constraints.TypeInteger.message = {item} moet een getal zijn.
    constraints.TypeLong.message = {item} moet een getal zijn.
    constraints.TypeFloat.message = {item} moet een getal zijn.
    constraints.TypeDouble.message = {item} moet een getal zijn.
    constraints.TypeAny.message = {item} kan niet worden geconverteerd naar {propertyType}.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/resources/fess_message_ru.properties

    constraints.URL.message = {item} - неверный URL-адрес.
    constraints.Required.message = {item} обязательно.
    constraints.TypeInteger.message = {item} должно быть числом.
    constraints.TypeLong.message = {item} должно быть числом.
    constraints.TypeFloat.message = {item} должно быть числом.
    constraints.TypeDouble.message = {item} должно быть числом.
    constraints.TypeAny.message = {item} не может быть преобразовано в {propertyType}.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. docs_src/cookie_param_models/tutorial001_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 303 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial014_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Annotated[Union[str, None], Query(include_in_schema=False)] = None,
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 344 bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        // Each group is a List of items, each item has a list of factory args.
        List<List<List<Object>>> argGroups = new ArrayList<>();
        argGroups.add(ImmutableList.of(args, equalArgs));
        EqualsTester tester =
            new EqualsTester(
                /* itemReporter= */ item -> {
                  List<Object> factoryArgs = argGroups.get(item.groupNumber).get(item.itemNumber);
                  return factory.getName()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java

    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestBulkFileWriter is an implementation of the SuggestWriter interface.
     * This class is responsible for writing and deleting suggest items in bulk.
     *
     * <p>Currently, the methods in this class throw UnsupportedOperationException
     * as they are not yet implemented.</p>
     *
     * @see SuggestWriter
     */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. tests/test_arbitrary_types.py

            "custom_field": [1.0, 2.0, 3.0]
        }
        assert ta.json_schema() == snapshot(
            {
                "properties": {
                    "custom_field": {
                        "items": {"type": "number"},
                        "title": "Custom Field",
                        "type": "array",
                    }
                },
                "required": ["custom_field"],
                "title": "MyModel",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/resources/fess_message_it.properties

    constraints.URL.message = {item} non è un URL valido.
    constraints.Required.message = {item} è richiesto.
    constraints.TypeInteger.message = {item} deve essere un numero.
    constraints.TypeLong.message = {item} deve essere un numero.
    constraints.TypeFloat.message = {item} deve essere un numero.
    constraints.TypeDouble.message = {item} deve essere un numero.
    constraints.TypeAny.message = {item} non può essere convertito in {propertyType}.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top