CJohnston079 / obfuscator

0 stars 0 forks source link

`anonymise` returns a lambda function object `<function <lambda> at 0x149cafba0>` for `"age"` fields #28

Closed CJohnston079 closed 4 months ago

CJohnston079 commented 4 months ago

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".

    "age": lambda: random.randint(18, 66),
CJohnston079 commented 4 months ago

Resolved in 98e0fdcec0591bb400bad9a4265c13a6b617b80b with proposed solution.