Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 983 for iter (0.02 sec)

  1. docs_src/sql_databases_peewee/sql_app/main.py

        return db_user
    
    
    @app.post(
        "/users/{user_id}/items/",
        response_model=schemas.Item,
        dependencies=[Depends(get_db)],
    )
    def create_item_for_user(user_id: int, item: schemas.ItemCreate):
        return crud.create_user_item(item=item, user_id=user_id)
    
    
    @app.get("/items/", response_model=List[schemas.Item], dependencies=[Depends(get_db)])
    def read_items(skip: int = 0, limit: int = 100):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. cmd/data-usage_test.go

    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return sizeS, nil
    		}
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. ci/devinfra/docker/windows/Dockerfile

      $zulu_root = \"c:\\openjdk\"; \
      (New-Object Net.WebClient).DownloadFile($zulu_url, $zulu_zip); \
      [System.IO.Compression.ZipFile]::ExtractToDirectory($zulu_zip, \"c:\\temp\"); \
      Move-Item $zulu_extracted_path -Destination $zulu_root; \
      Remove-Item $zulu_zip; \
      $env:PATH = [Environment]::GetEnvironmentVariable(\"PATH\", \"Machine\") + \";${zulu_root}\\bin\"; \
      [Environment]::SetEnvironmentVariable(\"PATH\", $env:PATH, \"Machine\"); \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 20 13:57:04 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tests/hooks_test.go

    	var productWithItem Product4
    	if err := DB.Session(&gorm.Session{SkipHooks: true}).Preload("Item").First(&productWithItem, "name = ?", product.Name).Error; err != nil {
    		t.Errorf("should find product, but got error %v", err)
    	}
    
    	if productWithItem.Item.AfterFindCallTimes != 0 {
    		t.Fatalf("AfterFind should not be called times:%d", productWithItem.Item.AfterFindCallTimes)
    	}
    }
    
    type Product5 struct {
    	gorm.Model
    	Name string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. docs/pl/docs/index.md

        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Serwer powinien przeładować się automatycznie (ponieważ dodałeś `--reload` do komendy `uvicorn` powyżej).
    
    ### Zaktualizowana interaktywna dokumentacja API
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                return StringUtil.EMPTY;
            }
            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/main/resources/fess_message_ja.properties

    # ---------------
    constraints.AssertFalse.message = {item} は false にしてください。
    constraints.AssertTrue.message = {item} は true にしてください。
    constraints.DecimalMax.message = {item} は {value} より小さくしてください。
    constraints.DecimalMin.message = {item} は {value} より大きくしてください。
    constraints.Digits.message = {item} は数値でなければなりません。(期待値: <数値>.<数値>)
    constraints.Future.message = {item}は将来の値にする必要があります。
    constraints.Max.message = {item} は {value} 以下にしてください。
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. docs_src/bigger_applications/app_an/routers/items.py

    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
        return {"name": fake_items_db[item_id]["name"], "item_id": item_id}
    
    
    @router.put(
        "/{item_id}",
        tags=["custom"],
        responses={403: {"description": "Operation forbidden"}},
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1011 bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml.injected

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      creationTimestamp: null
      name: hello
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello
          tier: backend
          track: stable
      strategy: {}
      template:
        metadata:
          annotations:
            prometheus.io/path: /stats/prometheus
            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. docs/pt/docs/how-to/separate-openapi-schemas.md

    </div>
    
    ### Modelo para Entrada e Saída na Documentação
    
    E se você verificar todos os Schemas disponíveis (JSON Schemas) no OpenAPI, verá que há dois, um `Item-Input` e um `Item-Output`.
    
    Para `Item-Input`, `description` **não é obrigatório**, não tem um asterisco vermelho.
    
    Mas para `Item-Output`, `description` **é obrigatório**, tem um asterisco vermelho.
    
    <div class="screenshot">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:52:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top