Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@accepts(d=Dict(key=int, value=object))
def sum_keys(d):
return sum(d.keys())
@accepts(d=Dict(int, Dict(basestring, float)))
def nested_data_structure(d):
return