MCPcopy Create free account
hub / github.com/doldecomp/mkdd / convert_numbers

Function convert_numbers

tools/project.py:2008–2011  ·  view source on GitHub ↗
(data: Dict[str, Any])

Source from the content-addressed store, hash-verified

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", []):

Callers 1

calculate_progressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected