Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 597 for UPDATE (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/es/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Uso del parámetro `update` de Pydantic { #using-pydantics-update-parameter }
    
    Ahora, puedes crear una copia del modelo existente usando `.model_copy()`, y pasar el parámetro `update` con un `dict` que contenga los datos a actualizar.
    
    /// info | Información
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. docs_src/path_params_numeric_validations/tutorial006_an_py39.py

        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Aug 28 23:39:15 GMT 2024
    - 447 bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial003_py310.py

            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons=Depends(CommonQueryParams)):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 603 bytes
    - Click Count (0)
  4. docs_src/body_multiple_params/tutorial001_py310.py

        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 546 bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/Progress.java

              totalBytesRead += bytesRead != -1 ? bytesRead : 0;
              progressListener.update(totalBytesRead, responseBody.contentLength(), bytesRead == -1);
              return bytesRead;
            }
          };
        }
      }
    
      interface ProgressListener {
        void update(long bytesRead, long contentLength, boolean done);
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Использование параметра `update` в Pydantic { #using-pydantics-update-parameter }
    
    Теперь можно создать копию существующей модели, используя `.model_copy()`, и передать параметр `update` с `dict`, содержащим данные для обновления.
    
    /// info | Информация
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. tests/scanner_valuer_test.go

    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil {
    		t.Errorf("Should failed to update data with invalid data")
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil {
    		t.Errorf("Should got no error update data with valid data, but got %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  8. .github/workflows/topic-repos.yml

    name: Update Topic Repos
    
    on:
      schedule:
        - cron: "0 12 1 * *"
      workflow_dispatch:
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      topic-repos:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1021 bytes
    - Click Count (0)
  9. scan.go

    		switch reflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			var (
    				elem        reflect.Value
    				isArrayKind = reflectValue.Kind() == reflect.Array
    			)
    
    			if !update || reflectValue.Len() == 0 {
    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    				} else {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Usando o parâmetro `update` do Pydantic { #using-pydantics-update-parameter }
    
    Agora, você pode criar uma cópia do modelo existente usando `.model_copy()`, e passar o parâmetro `update` com um `dict` contendo os dados para atualizar.
    
    /// info | Informação
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top