(d)
| 1554 | add_category(category.id, category.name) |
| 1555 | |
| 1556 | def cleandict(d): |
| 1557 | if isinstance(d, dict): |
| 1558 | return {k: cleandict(v) for k, v in d.items() if v is not None} |
| 1559 | elif isinstance(d, list): |
| 1560 | return [cleandict(v) for v in d] |
| 1561 | else: |
| 1562 | return d |
| 1563 | |
| 1564 | # Write objdiff.json |
| 1565 | with open("objdiff.json", "w", encoding="utf-8") as w: |
no outgoing calls
no test coverage detected