From 2345bbdda528806a8ff0897dac300ba0b4cb58b5 Mon Sep 17 00:00:00 2001 From: Navaneet Villodi <11260095+nauaneed@users.noreply.github.com> Date: Wed, 1 Apr 2026 20:07:08 +0530 Subject: [PATCH] Return key for None values in _key2name function Bool args are specified as key=None or no_key=None. So, just the "key" instead of "key_None". --- automan/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/automan/utils.py b/automan/utils.py index 3beb946..2c7364c 100644 --- a/automan/utils.py +++ b/automan/utils.py @@ -179,6 +179,8 @@ def _key2name(k): return f'{r}_{v}' elif isinstance(v, str): return v + elif v is None: + return k else: return f'{k}_{v}'