Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,313 for Updatef (0.16 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. docs/em/docs/tutorial/body-updates.md

    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="32"
        {!> ../../../docs_src/body_updates/tutorial002_py310.py!}
        ```
    
    ### ⚙️ Pydantic `update` 🔢
    
    🔜, 👆 💪 ✍ 📁 ♻ 🏷 ⚙️ `.copy()`, & 🚶‍♀️ `update` 🔢 ⏮️ `dict` ⚗ 💽 ℹ.
    
    💖 `stored_item_model.copy(update=update_data)`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```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)
  5. 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)
  6. 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)
  7. 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)
  8. hack/update-kustomize.sh

    ./hack/update-vendor.sh
    ./hack/update-internal-modules.sh
    ./hack/update-go-workspace.sh
    ./hack/lint-dependencies.sh
    
    sed -i'' -e "s/const kustomizeVersion.*$/const kustomizeVersion = \"${LATEST_KUSTOMIZE}\"/" staging/src/k8s.io/kubectl/pkg/cmd/version/version.go
    
    echo -e "\n${color_blue}Committing changes${color_norm}"
    git add .
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:40:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/ja/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
    - 5.2K bytes
    - Viewed (0)
  10. cmd/update-notifier.go

    		return fmt.Sprintf("You are running an older version of MinIO released %s, update: %s", newerThan, downloadURL)
    	}
    
    	// Return the nicely colored and formatted update message.
    	return colorizeUpdateMessage(downloadURL, newerThan)
    }
    
    // colorizeUpdateMessage - inspired from Yeoman project npm package https://github.com/yeoman/update-notifier
    func colorizeUpdateMessage(updateString string, newerThan string) string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top