Summary of What Needs to be Done
In , the function uses to guard the line . This is incorrect because an empty dict is falsy in Python, so would NOT be included in the payload even though it was explicitly passed. The correct check should be .
Changes that Need to be Made
Change to in the function.
Impact that it would Provide
- Empty dicts passed as will now correctly be included in the log payload.
- Prevents silent data loss when callers pass .
Note: Please assign this issue to the tmdeveloper007 account.
Summary of What Needs to be Done
In , the function uses to guard the line . This is incorrect because an empty dict is falsy in Python, so would NOT be included in the payload even though it was explicitly passed. The correct check should be .
Changes that Need to be Made
Change to in the function.
Impact that it would Provide
Note: Please assign this issue to the
tmdeveloper007account.