CartoDB / carto-python

CARTO Python client
https://carto.com
BSD 3-Clause "New" or "Revised" License
154 stars 62 forks source link

Synchronization table metadata is wrong #96

Closed ramiroaznar closed 5 years ago

ramiroaznar commented 5 years ago

Synchronization table metadata is wrong. Running something like this:

dm = DatasetManager(auth_client)
dsets = dm.all()

tables = [{
    'name': table.name, 
    'privacy' : table.privacy,
    'created': table.created_at, 
    'synchronization': table.synchronization,
    'geometry': table.table.geometry_types
} for table in dsets]

tables_df = json_normalize(tables)
tables_df.head()

All tables presents None values:

image

But as you can see in my dashboard, there are sync tables:

image

ethervoid commented 5 years ago

Carto-python doesn't include the sync data in the response. I've created a new PR to include it and ask the main contributors about the reason why is not included (just in case)

ethervoid commented 5 years ago

There is a new version with that included. Update and voila!