Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Getenv (0.15 sec)

  1. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, lisaClient, "projectaorb")
    	c.mustNotListObjects(ctx, lisaClient, "other")
    }
    
    func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) {
    	openIDServer := os.Getenv(EnvTestOpenIDServer)
    	openIDServer2 := os.Getenv(EnvTestOpenIDServer2)
    	if openIDServer == "" || openIDServer2 == "" {
    		t.Skip("Skipping OpenID test as enough OpenID servers are not provided.")
    	}
    	testApps := testClientApps
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        private static boolean isDockerAvailable() {
            try {
                // Check if we're in CI environment (GitHub Actions specifically)
                String ci = System.getenv("CI");
                String githubActions = System.getenv("GITHUB_ACTIONS");
                boolean isCI = "true".equals(ci) || "true".equals(githubActions);
    
                // First, check if docker command is available
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Gets a map of environment variables.
         *
         * @return A map of environment variables.
         */
        protected Map<String, String> getEnvMap() {
            return System.getenv();
        }
    
        /**
         * Gets the version of the Fess application.
         *
         * @return The version string.
         */
        public String getVersion() {
            return version;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  5. cmd/common-main.go

    		os.Setenv("CONSOLE_STS_DURATION", valueSts)
    	} else if valueSession := env.Get(config.EnvBrowserSessionDuration, ""); valueSession != "" {
    		os.Setenv("CONSOLE_STS_DURATION", valueSession)
    	}
    
    	os.Setenv("CONSOLE_MINIO_SITE_NAME", globalSite.Name())
    	os.Setenv("CONSOLE_MINIO_SITE_REGION", globalSite.Region())
    	os.Setenv("CONSOLE_MINIO_REGION", globalSite.Region())
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

    public class LdapUserTest extends UnitFessTestCase {
    
        private LdapUser ldapUser;
        private Hashtable<String, String> testEnv;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            testEnv = new Hashtable<>();
            testEnv.put("test.key", "test.value");
            ldapUser = new LdapUser(testEnv, "testuser");
    
            ComponentUtil.register(new SystemHelper(), "systemHelper");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/settings.md

    /// tip
    
    For this to work, you need to `pip install python-dotenv`.
    
    ///
    
    ### The `.env` file { #the-env-file }
    
    You could have a `.env` file with:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals("-XX:+UseG1GC", execJob.jvmOptions.get(2));
        }
    
        // Test lastaEnv setter
        public void test_lastaEnv() {
            String testEnv = "production";
            ExecJob result = execJob.lastaEnv(testEnv);
            assertEquals(testEnv, execJob.lastaEnv);
            assertSame(execJob, result);
        }
    
        // Test addSystemProperty method
        public void test_addSystemProperty() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    - github.com/spf13/jwalterweatherman: [v1.0.0](https://github.com/spf13/jwalterweatherman/tree/v1.0.0)
    - github.com/spf13/viper: [v1.7.0](https://github.com/spf13/viper/tree/v1.7.0)
    - github.com/subosito/gotenv: [v1.2.0](https://github.com/subosito/gotenv/tree/v1.2.0)
    - github.com/ugorji/go: [v1.1.4](https://github.com/ugorji/go/tree/v1.1.4)
    - github.com/xordataexchange/crypt: [b2862e3](https://github.com/xordataexchange/crypt/tree/b2862e3)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.31.md

    - github.com/smartystreets/goconvey: [v1.6.4](https://github.com/smartystreets/goconvey/tree/v1.6.4)
    - github.com/subosito/gotenv: [v1.2.0](https://github.com/subosito/gotenv/tree/v1.2.0)
    - golang.org/x/image: cff245a
    - golang.org/x/mobile: d2bd2a2
    - google.golang.org/api: v0.13.0
    - gopkg.in/errgo.v2: v2.1.0
    - gopkg.in/ini.v1: v1.51.0
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:49:57 UTC 2025
    - 429.6K bytes
    - Viewed (0)
Back to top