- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 125 for getEnv (0.12 sec)
-
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) -
tests/connpool_test.go
c.got = append(c.got, query) return c.db.QueryRowContext(ctx, query, args...) } func TestConnPoolWrapper(t *testing.T) { dialect := os.Getenv("GORM_DIALECT") if dialect != "mysql" { t.SkipNow() } dbDSN := os.Getenv("GORM_DSN") if dbDSN == "" { dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local" } nativeDB, err := sql.Open("mysql", dbDSN)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K 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) -
docs/de/docs/advanced/settings.md
Sie könnten zum Beispiel eine Datei `main.py` haben mit: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | "Tipp" Das zweite Argument für <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> ist der zurückzugebende Defaultwert.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.7K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject else -> project.gradle.parent?.rootProject } if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) { val rootProjectName = rootProject.name val isInBuildLogic = rootProjectName == "build-logic" gradle.taskGraph.whenReady {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 24 03:34:53 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts
* Team City. */ val testFilesCleanup = extensions.create<TestFileCleanUpExtension>("testFilesCleanup").apply { reportOnly.convention(false) } if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") { rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java) val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 2K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
import gradlebuild.identity.extension.ModuleIdentityExtension import org.gradle.api.publish.maven.MavenPublication plugins { id("publishing") } val artifactoryUrl get() = System.getenv("GRADLE_INTERNAL_REPO_URL") ?: "" val artifactoryUserName get() = project.providers.gradleProperty("artifactoryUserName").orNull val artifactoryUserPassword
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 08:20:22 UTC 2024 - 3.3K bytes - Viewed (0) -
settings.gradle.kts
include(":samples:static-server") include(":samples:tlssurvey") include(":samples:unixdomainsockets") include(":container-tests") project(":okhttp-logging-interceptor").name = "logging-interceptor" val androidHome = System.getenv("ANDROID_HOME") val localProperties = Properties().apply { val file = File("local.properties") if (file.exists()) { load(file.inputStream()) } } val sdkDir = localProperties.getProperty("sdk.dir")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Apr 14 14:24:05 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/em/docs/advanced/settings.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> 🔢 💲 📨. 🚥 🚫 🚚, ⚫️ `None` 🔢, 📥 👥 🚚 `"World"` 🔢 💲 ⚙️. /// ⤴️ 👆 💪 🤙 👈 🐍 📋:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.3K bytes - Viewed (0) -
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.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0)