Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 99 for Dotenv (0.04 seconds)

  1. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            }
        }
    
        private static void downloadFileFromURL(String urlString, File destination) throws Exception {
            if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
                String username = System.getenv("MVNW_USERNAME");
                char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
                Authenticator.setDefault(new Authenticator() {
                    @Override
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_settings/test_app03.py

        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        settings = main_mod.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.admin_email == "******@****.***"
        assert settings.items_per_user == 50
    
    
    def test_endpoint(main_mod: ModuleType, monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        if (inheritDevelocityAccessToken) {
            System.getenv("DEVELOCITY_ACCESS_KEY")?.let {
                environment["DEVELOCITY_ACCESS_KEY"] = it
            }
        }
    }
    
    
    private
    fun makePropagatedEnvironment(): MutableMap<String, String> {
        val result = HashMap<String, String>()
        for (key in propagatedEnvironmentVariables) {
            val value = System.getenv(key)
            if (value != null) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 15 18:27:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_settings/test_tutorial001.py

    from pytest import MonkeyPatch
    
    
    @pytest.fixture(name="app", params=[pytest.param("tutorial001_py39")])
    def get_app(request: pytest.FixtureRequest, monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        mod = importlib.import_module(f"docs_src.settings.{request.param}")
        return mod.app
    
    
    def test_settings(app):
        client = TestClient(app)
        response = client.get("/info")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 690 bytes
    - Click Count (0)
  6. internal/init/init.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package init
    
    import "os"
    
    func init() {
    	// All MinIO operations must be under UTC.
    	os.Setenv("TZ", "UTC")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Nov 04 23:44:38 GMT 2022
    - 874 bytes
    - Click Count (0)
  7. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        object : ThreadFactory {
          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread = Thread(runnable, "$name-${nextId++}")
        }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                if (connected) {
                    return;
                }
                final String endpoint = System.getenv().get("S3_ENDPOINT");
                final String accessKey = System.getenv().get("S3_ACCESS_KEY");
                final String secretKey = System.getenv().get("S3_SECRET_KEY");
                final String region = System.getenv().getOrDefault("S3_REGION", "us-east-1");
    
                // Validate endpoint before attempting connection
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 07:57:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. 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> - это возвращаемое по умолчанию значение.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top