Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Dotenv (0.09 sec)

  1. 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)
  2. 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)
  3. 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", "******@****.***")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_settings/test_app01.py

    
    @pytest.fixture(name="client")
    def get_test_client(mod_name: str, monkeypatch: MonkeyPatch) -> TestClient:
        if mod_name in sys.modules:
            del sys.modules[mod_name]
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        main_mod = importlib.import_module(mod_name)
        return TestClient(main_mod.app)
    
    
    def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/separate-openapi-schemas.md

    ### Ausgabemodell in der Dokumentation { #model-for-output-in-docs }
    
    Sie können das Ausgabemodell auch in der Dokumentation überprüfen. **Sowohl** `name` **als auch** `description` sind mit einem **roten Sternchen** als **erforderlich** markiert:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image03.png">
    </div>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    * 🔥 Remove unnecessary duplicated docstrings. PR [#10484](https://github.com/tiangolo/fastapi/pull/10484) by [@tiangolo](https://github.com/tiangolo).
    
    ### Internal
    
    * ✏️ Update Pydantic links to dotenv support. PR [#10511](https://github.com/tiangolo/fastapi/pull/10511) by [@White-Mask](https://github.com/White-Mask).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top