Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,156 for delenv (0.04 seconds)

  1. tests/test_tutorial/test_settings/test_app01.py

        if mod_name in sys.modules:
            del sys.modules[mod_name]
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        main_mod = importlib.import_module(mod_name)
        return TestClient(main_mod.app)
    
    
    def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch):
        monkeypatch.delenv("ADMIN_EMAIL", raising=False)
        if mod_name in sys.modules:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. callbacks/delete.go

    				queryConds = append(queryConds, clause.IN{Column: column, Values: values})
    
    				if db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil {
    					return
    				}
    			}
    		}
    
    	}
    }
    
    func Delete(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.DeleteClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. clause/delete.go

    package clause
    
    type Delete struct {
    	Modifier string
    }
    
    func (d Delete) Name() string {
    	return "DELETE"
    }
    
    func (d Delete) Build(builder Builder) {
    	builder.WriteString("DELETE")
    
    	if d.Modifier != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(d.Modifier)
    	}
    }
    
    func (d Delete) MergeClause(clause *Clause) {
    	clause.Name = ""
    	clause.Expression = d
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 09 09:07:00 GMT 2020
    - 359 bytes
    - Click Count (0)
  4. docs/bucket/replication/delete-replication.sh

    kill ${pid2} && wait ${pid2} || true
    
    aws s3api --endpoint-url http://localhost:9001 delete-object --bucket foobucket --key dir/file --version-id "$versionId"
    
    out="$(./mc ls myminio1/foobucket/dir/)"
    if [ "$out" != "" ]; then
    	echo "BUG: non versioned listing should not show pending/failed replicated delete:"
    	echo "$out"
    	exit 1
    fi
    
    out="$(./mc ls --versions myminio1/foobucket/dir/)"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  5. tensorflow/api_template_v1.__init__.py

          _ll.load_library(_plugin_dir)
          # Load Pluggable Device Library
          _ll.load_pluggable_device_library(_plugin_dir)
    
    if _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH", ""):
      _ll.load_pluggable_device_library(
          _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH")
      )
    
    # Delete modules that should be hidden from dir().
    # Don't fail if these modules are not available.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  6. api/go1.17.txt

    pkg syscall (windows-amd64), type SysProcAttr struct, ParentProcess Handle
    pkg testing, method (*B) Setenv(string, string)
    pkg testing, method (*T) Setenv(string, string)
    pkg testing, type TB interface, Setenv(string, string)
    pkg text/template/parse, const SkipFuncCheck = 2
    pkg text/template/parse, const SkipFuncCheck Mode
    pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Click Count (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
     * Usage: java build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
     */
    public class KillLeakingJavaProcesses {
        enum ExecutionMode {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. internal/config/subnet/config.go

    func (c *Config) ApplyEnv() {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if c.License != "" {
    		os.Setenv("CONSOLE_SUBNET_LICENSE", c.License)
    	}
    	if c.APIKey != "" {
    		os.Setenv("CONSOLE_SUBNET_API_KEY", c.APIKey)
    	}
    	if c.Proxy != "" {
    		os.Setenv("CONSOLE_SUBNET_PROXY", c.Proxy)
    	}
    	os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL)
    }
    
    // Update - in-place update with new license and registration information.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/settings.md

    这种做法相当常见,有一个名称,这些环境变量通常放在一个名为 `.env` 的文件中,该文件被称为“dotenv”。
    
    /// tip
    
    以点 (`.`) 开头的文件是 Unix-like 系统(如 Linux 和 macOS)中的隐藏文件。
    
    但是,dotenv 文件实际上不一定要具有确切的文件名。
    
    ///
    
    Pydantic 支持使用外部库从这些类型的文件中读取。您可以在<a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/#dotenv-env-support" class="external-link" target="_blank">Pydantic 设置: Dotenv (.env) 支持</a>中阅读更多相关信息。
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  10. src/cmd/addr2line/addr2line_test.go

    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit.
    	os.Exit(m.Run())
    }
    
    func loadSyms(t *testing.T, dbgExePath string) map[string]string {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
Back to Top