Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 931 for udpate (0.19 sec)

  1. lib/time/update.bash

    #
    # To prepare an update for a new Go release,
    # consult https://www.iana.org/time-zones for the latest versions,
    # update CODE and DATA below, and then run
    #
    #	./update.bash -commit
    #
    # That will prepare the files and create the commit.
    #
    # To review such a commit (as the reviewer), use:
    #
    #	git codereview change NNNNNN   # CL number
    #	cd lib/time
    #	./update.bash
    #
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. tests/update_test.go

    	users := []*User{
    		GetUser("update_column_01", Config{}),
    		GetUser("update_column_02", Config{}),
    	}
    
    	DB.Create(&users)
    	lastUpdatedAt := users[1].UpdatedAt
    
    	// update with map
    	DB.Model(users[1]).UpdateColumns(map[string]interface{}{"name": "update_column_02_newname", "age": 100})
    	if users[1].Name != "update_column_02_newname" || users[1].Age != 100 {
    		t.Errorf("user 2 should be updated with update column")
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  3. 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
    		}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  4. docs/en/docs/tutorial/body-updates.md

    !!! info
        In Pydantic v1 the method was called `.copy()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_copy()`.
    
        The examples here use `.copy()` for compatibility with Pydantic v1, but you should use `.model_copy()` instead if you can use Pydantic v2.
    
    Like `stored_item_model.model_copy(update=update_data)`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body-updates.md

    Wie in `stored_item_model.model_copy(update=update_data)`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="33"
        {!> ../../../docs_src/body_updates/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:37 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-updates.md

    Например, `stored_item_model.copy(update=update_data)`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="33"
        {!> ../../../docs_src/body_updates/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002_py39.py!}
        ```
    
    === "Python 3.6+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 23 13:55:32 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. .github/workflows/update-rbe.yml

    
    # This Workflow updates tensorflow/tools/toolchains/remote_config/configs.bzl
    # to reference the most recent versions of the SIG Build Docker images.
    name: Update RBE Configs
    on:
      workflow_dispatch:
    
    permissions:
      contents: read
    
    jobs:
      rbe:
        name: Update RBE Configs
        runs-on: ubuntu-latest
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. ci/official/requirements_updater/updater.sh

    do
      touch "requirements_lock_$VERSION.txt"
      bazel run \
        --experimental_convenience_symlinks=ignore \
        --enable_bzlmod=false \
        //:requirements_"$VERSION".update
      sed -i '/^#/d' requirements_lock_"$VERSION".txt
      mv requirements_lock_"$VERSION".txt ../../../requirements_lock_"$VERSION".txt
    done
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:05:45 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/body-updates.md

    💖 `stored_item_model.copy(update=update_data)`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="33"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top