omnipy.components.prefect.lazy_import
| FUNCTION | DESCRIPTION |
|---|---|
set_prefect_config_path |
|
use_ephemeral_mode_for_tests |
Force Prefect into ephemeral local mode when running under |
set_prefect_config_path
use_ephemeral_mode_for_tests
Force Prefect into ephemeral local mode when running under pytest.
The test suite should not depend on external Prefect Cloud or server settings, so
this helper clears remote-API settings and enables ephemeral mode when pytest
has been imported.