Closed CJohnston079 closed 4 months ago
anonymise returns a lambda function object <function <lambda> at 0x149cafba0> for "age" fields.
anonymise
<function <lambda> at 0x149cafba0>
"age"
Remove the lambda: prefix from the value of "age".
lambda:
"age": lambda: random.randint(18, 66),
Resolved in 98e0fdcec0591bb400bad9a4265c13a6b617b80b with proposed solution.
Issue
anonymise
returns a lambda function object<function <lambda> at 0x149cafba0>
for"age"
fields.Proposed resolution
Remove the
lambda:
prefix from the value of"age"
.