Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,383 for Items (0.04 sec)

  1. docs_src/python_types/tutorial008_py39.py

    def process_items(prices: dict[str, float]):
        for item_name, item_price in prices.items():
            print(item_name)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jan 16 14:44:08 UTC 2022
    - 145 bytes
    - Viewed (0)
  2. tests/test_param_include_in_schema.py

                    "type": "object",
                    "properties": {
                        "detail": {
                            "title": "Detail",
                            "type": "array",
                            "items": {"$ref": "#/components/schemas/ValidationError"},
                        }
                    },
                },
                "ValidationError": {
                    "title": "ValidationError",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    ///
    
    That means: "the variable `items` is a `list`, and each of the items in this list is a `str`".
    
    /// tip
    
    If you use Python 3.9 or above, you don't have to import `List` from `typing`, you can use the same regular `list` type instead.
    
    ///
    
    By doing that, your editor can provide support even while processing items from the list:
    
    <img src="/img/python-types/image05.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/dict/mapping/admin_dict_mapping.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${charMappingItemItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/dict/mapping/details/${f:u(dictId)}/4/${f:u(data.id)}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${stopwordsItemItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/dict/stopwords/details/${f:u(dictId)}/4/${f:u(data.id)}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 9.9K bytes
    - Viewed (0)
  6. docs_src/metadata/tutorial003.py

    from fastapi import FastAPI
    
    app = FastAPI(docs_url="/documentation", redoc_url=None)
    
    
    @app.get("/items/")
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 02 04:55:20 UTC 2020
    - 161 bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial004.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 01 16:43:29 UTC 2023
    - 824 bytes
    - Viewed (0)
  8. docs_src/custom_response/tutorial001.py

    from fastapi import FastAPI
    from fastapi.responses import UJSONResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=UJSONResponse)
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 197 bytes
    - Viewed (0)
  9. docs_src/custom_response/tutorial010.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    
    app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/items/")
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 16:02:45 UTC 2020
    - 205 bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // `items` is a list of FlowSchemas.
      repeated FlowSchema items = 2;
    }
    
    // FlowSchemaSpec describes how the FlowSchema's specification looks like.
    message FlowSchemaSpec {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top