Skip to content

Commit b40bf79

Browse files
committed
fix: update async_auto_enabled handling in init_framework; bump version to 0.0.68
1 parent 470dffc commit b40bf79

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scitrera_app_framework/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
def init_framework(*args, **kwargs) -> Variables:
2222
register_base_plugins = kwargs.pop('base_plugins', False)
2323
enable_pyroscope = kwargs.pop('pyroscope', False)
24+
async_auto_enabled = kwargs.pop('async_auto_enabled', True)
2425

2526
v = _init_framework(*args, **kwargs)
2627

@@ -45,7 +46,7 @@ def init_framework(*args, **kwargs) -> Variables:
4546

4647
# manage whether async plugins are auto-enabled
4748
from .core.plugins import set_async_auto_enabled
48-
set_async_auto_enabled(v.environ('SAF_ASYNC_AUTO_MODE', default=kwargs.pop('async_auto_enabled', True), type_fn=ext_parse_bool))
49+
set_async_auto_enabled(v.environ('SAF_ASYNC_AUTO_MODE', default=async_auto_enabled, type_fn=ext_parse_bool))
4950

5051
return v
5152

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="scitrera-app-framework",
8-
version="0.0.67",
8+
version="0.0.68",
99
author="Scitrera LLC",
1010
author_email="open-source-team@scitrera.com",
1111
description="Common Application Framework Code and Utilities",

0 commit comments

Comments
 (0)