BuiltIn run_keyword and argument logging


I noticed a difference in output.xml depending on whether a keyword is invoked from Robot, or from python code via BuiltIn.run_keyword.

Test 6
${a} Create Dictionary a=1
Kw1 ${a}
From BuiltIn ${a}

Python code:
def from_builtIn(a: dict):
_b().run_keyword(‘Kw1’, a)

this creates following entry in output.xml:


{‘a’: ‘1’}

This is very annoying when the passed dictionary is big (like a large JSON response from server).

How to get rid of the fully logged variable when invoking a keyword from python?