def py_type_name(type_name):
 return {'blob': 'bytes', 'character': 'string', 'double': 'float', 'long': 'integer', 'map': 'dict', 'structure': 'dict', 'timestamp': 'datetime'}.get(type_name, type_name)

def py_type_name ( type_name ) : return { 'blob' : 'bytes' , 'character' : 'string' , 'double' : 'float' , 'long' : 'integer' , 'map' : 'dict' , 'structure' : 'dict' , 'timestamp' : 'datetime' } . get ( type_name , type_name )
get the python type name for a given model type .