Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for item (0.16 sec)

  1. tests/test_application.py

                        },
                        "summary": "Get Id",
                        "operationId": "get_id_path__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id"},
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  2. tests/test_generate_unique_id_function.py

        @app.post("/", response_model=List[Item], responses={404: {"model": List[Message]}})
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @router.post(
            "/router", response_model=List[Item], responses={404: {"model": List[Message]}}
        )
        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        app.include_router(router)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. docs/ru/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    В этой же директории создайте файл `Dockerfile` и заполните его:
    
    ```{ .dockerfile .annotate }
    # (1)
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/adminlte.min.js.map

    );\n      if (! $(item).prop('checked')) {\n        this.unCheck($(item));\n        return;\n      }\n\n      this.check(item);\n    }\n\n    check (item) {\n      this._config.onCheck.call(item);\n    }\n\n    unCheck (item) {\n      this._config.onUnCheck.call(item);\n    }\n\n    // Private\n\n    _init() {\n      var that = this\n      $(Selector.DATA_TOGGLE).find('input:checkbox:checked').parents('li').toggleClass(ClassName.TODO_LIST_DONE)\n      $(Selector.DATA_TOGGLE).on('change', 'input:checkbox',...
    Plain Text
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Wed Feb 12 07:55:41 GMT 2020
    - 77K bytes
    - Viewed (1)
  5. cmd/xl-storage.go

    	}
    
    	cache.Info.updates = updates
    
    	dataUsageInfo, err := scanDataFolder(ctx, disks, s.drivePath, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        }
                        buf.append("{\"label\":");
                        buf.append(escapeJson(labelMap.get(Constants.ITEM_LABEL)));
                        buf.append(", \"value\":");
                        buf.append(escapeJson(labelMap.get(Constants.ITEM_VALUE)));
                        buf.append('}');
                    }
                    buf.append(']');
                }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
        async def read_items(
            item_id: Annotated[int, Path(title="The ID of the item to get")],
        ):
            return {"item_id": item_id}
        ```
        """
        return params.Path(
            default=default,
            default_factory=default_factory,
            alias=alias,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  8. src/main/webapp/js/bootstrap.min.js

    ck"+F+U},z="carousel",X="active",$="slide",G="carousel-item-right",J="carousel-item-left",Z="carousel-item-next",tt="carousel-item-prev",et="pointer-event",nt=".active",it=".active.carousel-item",ot=".carousel-item",rt=".carousel-item img",st=".carousel-item-next, .carousel-item-prev",at=".carousel-indicators",lt="[data-slide], [data-slide-to]",ct='[data-ride="carousel"]',ht={TOUCH:"touch",PEN:"pen"},ut=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 58.6K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/bootstrap.min.js

    ck"+F+U},z="carousel",X="active",$="slide",G="carousel-item-right",J="carousel-item-left",Z="carousel-item-next",tt="carousel-item-prev",et="pointer-event",nt=".active",it=".active.carousel-item",ot=".carousel-item",rt=".carousel-item img",st=".carousel-item-next, .carousel-item-prev",at=".carousel-indicators",lt="[data-slide], [data-slide-to]",ct='[data-ride="carousel"]',ht={TOUCH:"touch",PEN:"pen"},ut=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 58.6K bytes
    - Viewed (3)
  10. configure.py

    
    def get_var(environ_cp,
                var_name,
                query_item,
                enabled_by_default,
                question=None,
                yes_reply=None,
                no_reply=None):
      """Get boolean input from user.
    
      If var_name is not set in env, ask user to enable query_item or not. If the
      response is empty, use the default.
    
      Args:
        environ_cp: copy of the os.environ.
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top