Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,460 for Updater (0.15 sec)

  1. callbacks/update.go

    				if i, ok := value.(BeforeUpdateInterface); ok {
    					called = true
    					db.AddError(i.BeforeUpdate(tx))
    				}
    			}
    
    			return called
    		})
    	}
    }
    
    // Update update hook
    func Update(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.UpdateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. hack/update-vendor.sh

    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run hack/update-vendor.sh with \$GOPROXY=off"
      exit 1
    fi
    
    kube::util::require-jq
    
    TMP_DIR="${TMP_DIR:-$(mktemp -d /tmp/update-vendor.XXXX)}"
    LOG_FILE="${LOG_FILE:-${TMP_DIR}/update-vendor.log}"
    kube::log::status "logfile at ${LOG_FILE}"
    
    # Set up some FDs for this script to use, while capturing everything else to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. cmd/update.go

    	// Check if we are in DCOS environment, return
    	// deployment guide for update procedures.
    	if IsDCOS() {
    		return mesosDeploymentDoc
    	}
    
    	// Check if we are in kubernetes environment, return
    	// deployment guide for update procedures.
    	if IsKubernetes() {
    		return kubernetesDeploymentDoc
    	}
    
    	// Check if we are docker environment, return docker update command
    	if IsDocker() {
    		// Construct release tag name.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.4.md

    ### kubectl rolling-update: < v1.4.0 client vs >=v1.4.0 cluster
    
    Old version kubectl's rolling-update command is compatible with Kubernetes 1.4 and higher only if you specify a new replication controller name. You will need to update to kubectl 1.4 or higher to use the rolling update command against a 1.4 cluster if you want to keep the original name, or you'll have to do two rolling updates.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  5. releasenotes/notes/we-updates.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    issue:
    - 27183
    - 27151
    - 27185
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 15 00:37:27 UTC 2020
    - 208 bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/body-updates.md

    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="32"
        {!> ../../../docs_src/body_updates/tutorial002_py310.py!}
        ```
    
    ### ⚙️ Pydantic `update` 🔢
    
    🔜, 👆 💪 ✍ 📁 ♻ 🏷 ⚙️ `.copy()`, &amp; 🚶‍♀️ `update` 🔢 ⏮️ `dict` ⚗ 💽 ℹ.
    
    💖 `stored_item_model.copy(update=update_data)`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-updates.md

        ```Python hl_lines="34"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    ### Использование параметра `update` в Pydantic
    
    Теперь можно создать копию существующей модели, используя `.copy()`, и передать параметр `update` с `dict`, содержащим данные для обновления.
    
    Например, `stored_item_model.copy(update=update_data)`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="33"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 23 13:55:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body-updates.md

    然后再用它生成一个只含已设置(在请求中所发送)数据,且省略了默认值的 `dict`:
    
    ```Python hl_lines="34"
    {!../../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### 使用 Pydantic 的 `update` 参数
    
    接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的 `dict`。
    
    例如,`stored_item_model.copy(update=update_data)`:
    
    ```Python hl_lines="35"
    {!../../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### 更新部分数据小结
    
    简而言之,更新部分数据应:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/body-updates.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="34"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    ### Pydantics `update`-Parameter verwenden
    
    Jetzt können Sie eine Kopie des existierenden Modells mittels `.model_copy()` erstellen, wobei Sie dem `update`-Parameter ein `dict` mit den zu ändernden Daten übergeben.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.5.md

    * Kubelet flag '--mounter-path' renamed to '--experimental-mounter-path' ([#35646](https://github.com/kubernetes/kubernetes/pull/35646), [@vishh](https://github.com/vishh))
    * Node status updater should SetNodeStatusUpdateNeeded if it fails to update status ([#34368](https://github.com/kubernetes/kubernetes/pull/34368), [@jingxu97](https://github.com/jingxu97))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
Back to top