def get_cast(cast_type):
 return CASTS.get(cast_type, None)

def get_cast ( cast_type ) : return CASTS . get ( cast_type , None )
determines the callable which will perform the cast given a string representation of the type .