- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for Getenv (0.04 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt
* limitations under the License. */ package okhttp3 import okio.Buffer import okio.Path import okio.Path.Companion.toPath val okHttpRoot: Path get() = getEnv("OKHTTP_ROOT")!!.toPath() fun String(vararg codePoints: Int): String { val buffer = Buffer() for (codePoint in codePoints) { buffer.writeUtf8CodePoint(codePoint) } return buffer.readUtf8()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 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 Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.1K 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 Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 16.4K bytes - Viewed (0) -
tests/helper_test.go
if isTiDB() { t.Skipf("This test case skipped, because of TiDB '%s'", reason) } } func isTiDB() bool { return os.Getenv("GORM_DIALECT") == "tidb" } func isMysql() bool { return os.Getenv("GORM_DIALECT") == "mysql" } func isSqlite() bool { return os.Getenv("GORM_DIALECT") == "sqlite" } func db(unscoped bool) *gorm.DB { if unscoped { return DB.Unscoped() } else {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
docs/ko/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> 의 두 번째 인자는 반환할 기본값입니다. 여기서는 `"World"`를 넣었기에 기본값으로써 사용됩니다. 넣지 않으면 `None` 이 기본값으로 사용됩니다. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 8.7K bytes - Viewed (0) -
container-tests/build.gradle.kts
val platform = System.getProperty("okhttp.platform", "jdk9") val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", ) if (platform == "loom") {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Mar 17 14:46:34 UTC 2024 - 1.1K bytes - Viewed (1) -
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 Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 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 Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/bn/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 Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Jun 05 08:15:56 UTC 2025 - 17.2K bytes - Viewed (0) -
docs/es/docs/environment-variables.md
Por ejemplo, podrías tener un archivo `main.py` con: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | Consejo El segundo argumento de <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> es el valor por defecto a retornar.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 8.3K bytes - Viewed (0)