(d)
| 1763 | add_category(category.id, category.name) |
| 1764 | |
| 1765 | def cleandict(d): |
| 1766 | if isinstance(d, dict): |
| 1767 | return {k: cleandict(v) for k, v in d.items() if v is not None} |
| 1768 | elif isinstance(d, list): |
| 1769 | return [cleandict(v) for v in d] |
| 1770 | else: |
| 1771 | return d |
| 1772 | |
| 1773 | # Write objdiff.json |
| 1774 | with open("objdiff.json", "w", encoding="utf-8") as w: |
no outgoing calls
no test coverage detected