Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 838 for ITEM (0.25 sec)

  1. docs/en/docs/advanced/generate-clients.md

    {* ../../docs_src/generate_clients/tutorial001_py39.py hl[7:9,12:13,16:17,21] *}
    
    Notice that the *path operations* define the models they use for request payload and response payload, using the models `Item` and `ResponseMessage`.
    
    ### API Docs { #api-docs }
    
    If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  2. tests/test_tutorial/test_dependencies/test_tutorial008d.py

    
    def test_get_no_item(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py

                        "parameters": [
                            {
                                "required": True,
                                "schema": {
                                    "title": "The ID of the item to get",
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 1000,
                                },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. internal/s3select/jstream/scanner.go

    	if s.pos >= atomic.LoadInt64(&s.end) {
    		return nullByte
    	}
    	s.ipos++
    
    	if s.ipos > s.ifill { // internal buffer is exhausted
    		s.ifill = <-s.fillReady
    
    		s.buf[0] = s.buf[len(s.buf)-1] // copy current last item to guarantee lookback
    		copy(s.buf[1:], s.nbuf[:])     // copy contents of pre-filled next buffer
    		s.ipos = 1                     // move to beginning of internal buffer
    
    		// request next fill to be prepared
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. fastapi/routing.py

            from pydantic import BaseModel
    
            class Item(BaseModel):
                name: str
                description: str | None = None
    
            app = FastAPI()
            router = APIRouter()
    
            @router.put("/items/{item_id}")
            def replace_item(item_id: str, item: Item):
                return {"message": "Item replaced", "id": item_id}
    
            app.include_router(router)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  6. apache-maven/src/site/site.xml

      xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
    
      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
        </menu>
      </body>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		}
    
    		// Remove filename which is the meta file.
    		item.transformMetaDir()
    
    		fivs, err := getFileInfoVersions(buf, item.bucket, item.objectPath(), false)
    		metaDataPoolPut(buf)
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    		versioned := vcfg != nil && vcfg.Versioned(item.objectPath())
    		objInfos := make([]ObjectInfo, len(fivs.Versions))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue.setMethod("GET");
            urlQueue.setSessionId(sessionId);
            urlQueue.setUrl("http://www.example.com/page1");
    
            urlQueueService.insert(urlQueue);
    
            // Poll should return the item
            final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
            assertNotNull(polled);
            assertEquals("http://www.example.com/page1", polled.getUrl());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    			go expiryWorker(&wg, workerReady, workers[0], &gotExpired)
    			<-workerReady
    
    			item := scannerItem{
    				Path:        obj,
    				bucket:      bucket,
    				prefix:      "",
    				objectName:  obj,
    				lifeCycle:   lc,
    				replication: test.replCfg,
    			}
    
    			var (
    				sizeS sizeSummary
    				gots  []ObjectInfo
    			)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Funnel.java

     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
     * 3: "Enforce the singleton property with a private constructor or an enum type". For example:
     *
     * {@snippet :
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top