Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for Dotenv (0.05 seconds)

  1. docs/es/docs/advanced/settings.md

    /// tip | Consejo
    
    Para que esto funcione, necesitas `pip install python-dotenv`.
    
    ///
    
    ### El archivo `.env` { #the-env-file }
    
    Podrías tener un archivo `.env` con:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/settings.md

    /// tip | Совет
    
    Чтобы это работало, вам нужно `pip install python-dotenv`.
    
    ///
    
    ### Файл `.env` { #the-env-file }
    
    У вас может быть файл `.env` со следующим содержимым:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/settings.md

    /// tip | Tipp
    
    Damit das funktioniert, müssen Sie `pip install python-dotenv` ausführen.
    
    ///
    
    ### Die `.env`-Datei { #the-env-file }
    
    Sie könnten eine `.env`-Datei haben, mit:
    
    ```bash
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. 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"
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/settings.md

    /// tip | Dica
    
    Para isso funcionar, você precisa executar `pip install python-dotenv`.
    
    ///
    
    ### O arquivo `.env` { #the-env-file }
    
    Você poderia ter um arquivo `.env` com:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. 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())
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top