Add a way to force a str in case #json is really required in a key
This commit is contained in:
parent
be44a22903
commit
ca63c08d6a
2 changed files with 3 additions and 1 deletions
|
|
@ -544,6 +544,7 @@ def ExpandReferencesInString( orig_s,
|
|||
def CoerceType( mapping: typing.Dict[ str, typing.Any ], key: str ):
|
||||
DICT_TYPES = {
|
||||
'json': json.loads,
|
||||
's': str
|
||||
}
|
||||
|
||||
parts = key.split( '#' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue