in src/stepfunctions/inputs/utils.py [0:0]
def replace_type_with_str(schema):
schema_with_str = {}
for k,v in schema.items():
if isinstance(v, dict):
schema_with_str[k] = replace_type_with_str(v)
else:
schema_with_str[k] = v.__name__
return schema_with_str