From 30149208cc9c9ca2a0dbfd529d199e5ad5049f3a Mon Sep 17 00:00:00 2001 From: David Bieber Date: Wed, 1 Feb 2023 09:38:32 -0800 Subject: [PATCH] Use literal dict --- fire/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fire/decorators.py b/fire/decorators.py index 9e56d6df..b2e9b322 100644 --- a/fire/decorators.py +++ b/fire/decorators.py @@ -111,5 +111,5 @@ def GetMetadata(fn): def GetParseFns(fn): # type: (...) -> dict metadata = GetMetadata(fn) - default = dict(default=None, positional=[], named={}) + default = {"default": None, "positional": [], "named": {}} return metadata.get(FIRE_PARSE_FNS, default)