def infer_return_type(untyped, arg_types):
  return specialize(untyped, arg_types).return_type
Given a function definition and some input types, gives back the return type
dataset/ETHPy150Open iskandr/parakeet/parakeet/type_inference/type_inference.py/infer_return_type