diff --git a/src/viam/utils.py b/src/viam/utils.py index 3504ff6d1..f9bebc1ea 100644 --- a/src/viam/utils.py +++ b/src/viam/utils.py @@ -259,7 +259,7 @@ async def to_thread(func: Callable[_P, _R], *args: _P.args, **kwargs: _P.kwargs) def from_dm_from_extra(extra: Optional[Dict[str, Any]]) -> bool: """Used in modular filter components to get the 'fromDataManagement' value from an extra map.""" - if extra is None or "fromDataManagement" not in extra: + if extra is None: return False return bool(extra.get("fromDataManagement", False))