(data: Dict[str, Any])
| 2006 | |
| 2007 | # Convert string numbers (u64) to int |
| 2008 | def convert_numbers(data: Dict[str, Any]) -> None: |
| 2009 | for key, value in data.items(): |
| 2010 | if isinstance(value, str) and value.isdigit(): |
| 2011 | data[key] = int(value) |
| 2012 | |
| 2013 | convert_numbers(report_data["measures"]) |
| 2014 | for category in report_data.get("categories", []): |
no outgoing calls
no test coverage detected