def get_properties(obj):
    if hasattr(obj, 'keys'):
        return obj.keys()
    elif hasattr(obj, '__dict__'):
        return obj.__dict__.keys()

    return []
Look at the first row of the given CSV to determine its geometry type.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/util/__init__.py/get_properties--crossover with--dataset/ETHPy150Open openaddresses/machine/openaddr/util/esri2geojson.py/guess_geom_type