Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Environ (0.1 sec)

  1. scripts/docs.py

                yield lang_path.name
    
    
    @app.callback()
    def callback() -> None:
        if is_mkdocs_insiders():
            os.environ["INSIDERS_FILE"] = "../en/mkdocs.insiders.yml"
        # For MacOS with insiders and Cairo
        os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = "/opt/homebrew/lib"
    
    
    @app.command()
    def new_lang(lang: str = typer.Argument(..., callback=lang_callback)):
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. configure.py

      _TF_WORKSPACE_ROOT = args.workspace
      _TF_BAZELRC = os.path.join(_TF_WORKSPACE_ROOT, _TF_BAZELRC_FILENAME)
    
      # Make a copy of os.environ to be clear when functions and getting and setting
      # environment variables.
      environ_cp = dict(os.environ)
    
      try:
        current_bazel_version = retrieve_bazel_version()
      except subprocess.CalledProcessError as e:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    // the given context.
    func listEnv(c *build.Context) []string {
    	if c == nil {
    		return os.Environ()
    	}
    
    	environ := append(os.Environ(),
    		"GOOS="+c.GOOS,
    		"GOARCH="+c.GOARCH)
    	if c.CgoEnabled {
    		environ = append(environ, "CGO_ENABLED=1")
    	} else {
    		environ = append(environ, "CGO_ENABLED=0")
    	}
    	return environ
    }
    
    type apiPackage struct {
    	*types.Package
    	Files []*ast.File
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. api/go1.19.txt

    pkg net/url, func JoinPath(string, ...string) (string, error) #47005
    pkg net/url, method (*URL) JoinPath(...string) *URL #47005
    pkg net/url, type URL struct, OmitHost bool #46059
    pkg os/exec, method (*Cmd) Environ() []string #50599
    pkg os/exec, type Cmd struct, Err error #43724
    pkg os/exec, var ErrDot error #43724
    pkg regexp/syntax, const ErrNestingDepth = "expression nests too deeply" #51684
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  5. cmd/common-main.go

    		if (quote == '"' || quote == '\'') && val[len(val)-1] == quote {
    			val = val[1 : len(val)-1]
    		}
    	}
    
    	return envKV{
    		Key:   key,
    		Value: val,
    	}, nil
    }
    
    // Similar to os.Environ returns a copy of strings representing
    // the environment values from a file, in the form "key, value".
    // in a structured form.
    func minioEnvironFromFile(envConfigFile string) ([]envKV, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. docs/fr/docs/async.md

    serveur).
    
    Si vous venez d'un autre framework asynchrone qui ne fonctionne pas comme de la façon décrite ci-dessus et que vous êtes habitués à définir des *fonctions de chemin* basiques avec un simple `def` pour un faible gain de performance (environ 100 nanosecondes), veuillez noter que dans **FastAPI**, l'effet serait plutôt contraire. Dans ces cas-là, il vaut mieux utiliser `async def` à moins que votre *fonction de chemin* utilise du code qui effectue des opérations <abbr title="Input/Output...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. cmd/server-main.go

    		fmt.Println("Currently set environment settings:")
    		ks := []string{
    			config.EnvAccessKey,
    			config.EnvSecretKey,
    			config.EnvRootUser,
    			config.EnvRootPassword,
    		}
    		for _, v := range os.Environ() {
    			// Do not print sensitive creds in debug.
    			if slices.Contains(ks, strings.Split(v, "=")[0]) {
    				continue
    			}
    			fmt.Println(v)
    		}
    		fmt.Println("======")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top