Sum of ints and lists.
(nums)
| 142 | |
| 143 | @shared_task |
| 144 | def xsum(nums): |
| 145 | """Sum of ints and lists.""" |
| 146 | return sum(sum(num) if isinstance(num, Iterable) else num for num in nums) |
| 147 | |
| 148 | |
| 149 | @shared_task(bind=True) |
nothing calls this directly
no outgoing calls
no test coverage detected