"primary_increment" arg in database.get_table()
vladiscripts opened this issue · comments
vladiscripts commented
db.get_table('table', primary_id='tid', primary_increment=False)
raise:
TypeError: get_table() got an unexpected keyword argument 'primary_increment'
In the dataset.database.py
we see:
def get_table(self, table_name, primary_id=None, primary_type=None):
"""Load or create a table.
This is now the same as ``create_table``.
And here the defination of create_table()
:
def create_table(
self, table_name, primary_id=None, primary_type=None, primary_increment=None
)
As we can see, get_table()
does not have not the primary_increment
argument, so it is not "the same as create_table
.