def get_fields(obj):
    """
    Returns a tuple:
    0: list of the fields in a given Salesforce object
    1: the 'soapType' for each of the passed fields
    """
    fields = obj.describe()['fields']
    return ([field['name'] for field in fields],
            [field['soapType'] for field in fields])