- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for getEnv (0.06 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv() val isGhActions = "GITHUB_ACTIONS" in System.getenv() val isTeamCity = "TEAMCITY_VERSION" in System.getenv() val isTeamCityParallelTestsEnabled get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv() val isCodeQl: Boolean by lazy {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 4.9K bytes - Viewed (0) -
tests/tests_test.go
log.Printf("failed to ping sqlDB, got error %v", err) os.Exit(1) } RunMigrations() } } func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) { dbDSN := os.Getenv("GORM_DSN") switch os.Getenv("GORM_DIALECT") { case "mysql": log.Println("testing mysql...") if dbDSN == "" { dbDSN = mysqlDSN } db, err = gorm.Open(mysql.Open(dbDSN), cfg) case "postgres":
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
__path__ = [_tf_api_dir] elif _tf_api_dir not in __path__: __path__.append(_tf_api_dir) # Hook external TensorFlow modules. # Load tensorflow-io-gcs-filesystem if enabled if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"): import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem # Lazy-load Keras v2/3. _tf_uses_legacy_keras = (
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/api_template_v1.__init__.py
# lazy loading. _current_module.compat.v2 # pylint: disable=pointless-statement # Load tensorflow-io-gcs-filesystem if enabled if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"): import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem # Lazy-load Keras v1. _tf_uses_legacy_keras = (
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/nl/docs/environment-variables.md
Je kunt bijvoorbeeld een bestand `main.py` hebben met: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip Het tweede argument van <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is de standaardwaarde die wordt geretourneerd.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 20 11:13:32 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/en/docs/environment-variables.md
For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Sep 08 20:36:53 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
final String appType = System.getenv(FESS_APP_TYPE); if (StringUtil.isNotBlank(appType)) { return appType; } return StringUtil.EMPTY; } public static OptionalEntity<String> getOverrideConfPath() { if (FESS_APP_DOCKER.equalsIgnoreCase(getAppType())) { final String confPath = System.getenv(FESS_OVERRIDE_CONF_PATH);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 08:52:32 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/ru/docs/environment-variables.md
Например, у вас есть файл `main.py`: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip Второй аргумент <a href=«https://docs.python.org/3.8/library/os.html#os.getenv» class=«external-link» target=«_blank»>`os.getenv()`</a> - это возвращаемое по умолчанию значение.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 15 11:38:57 UTC 2024 - 12.5K bytes - Viewed (0) -
docs/pt/docs/environment-variables.md
Por exemplo, você poderia ter um arquivo `main.py` com: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | "Dica" O segundo argumento para <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> é o valor padrão a ser retornado.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 10 10:36:42 UTC 2024 - 8.4K bytes - Viewed (0) -
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 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0)