def get_type_from_spec_info(spec_info):
 if ((u'an existing file name' in spec_info) or (u'input volumes' in spec_info)):
  return u'File'
 elif ((u'an integer' in spec_info) or (u'a float' in spec_info)):
  return u'Number'
 elif (u'a boolean' in spec_info):
  return u'Boolean'
 return u'String'

def get_type_from_spec_info ( spec_info ) : if ( ( u'an existing file name' in spec_info ) or ( u'input volumes' in spec_info ) ) : return u'File' elif ( ( u'an integer' in spec_info ) or ( u'a float' in spec_info ) ) : return u'Number' elif ( u'a boolean' in spec_info ) : return u'Boolean' return u'String'
returns an input type from the spec info .