Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Dotenv (0.03 sec)

  1. docs/ru/docs/advanced/settings.md

    /// tip | Совет
    
    Чтобы это работало, вам нужно `pip install python-dotenv`.
    
    ///
    
    ### Файл `.env` { #the-env-file }
    
    У вас может быть файл `.env` со следующим содержимым:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. 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="******@****.***"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (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"
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 11.2K bytes
    - Viewed (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="******@****.***"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. tests/tests_test.go

    			log.Printf("failed to ping sqlDB, got error %v", err)
    			os.Exit(1)
    		}
    
    		RunMigrations()
    	}
    }
    
    func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) {
    	dbDSN := os.Getenv("GORM_DSN")
    	switch os.Getenv("GORM_DIALECT") {
    	case "mysql":
    		log.Println("testing mysql...")
    		if dbDSN == "" {
    			dbDSN = mysqlDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	case "postgres":
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GithubCIDetector.java

            String ciEnv = System.getenv(GITHUB_ACTIONS);
            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
    
                    @Override
                    public boolean isVerbose() {
                        return "1".equals(System.getenv(RUNNER_DEBUG));
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TravisCIDetector.java

            String ciEnv = System.getenv(TRAVIS);
            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
    
                    @Override
                    public boolean isVerbose() {
                        return "true".equals(System.getenv(TRAVIS_DEBUG_MODE));
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.7K bytes
    - Viewed (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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (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")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 690 bytes
    - Viewed (0)
Back to top