seatable-api-python
seatable-api-python copied to clipboard
table names 4 characters long are erroneously parsed as table ids
2.6.3 has introduced a bug that causes table names that match the regular expression r'^[-0-9a-zA-Z]{4}$'
in the new like_table_id()
function to be parsed as ids rather than tables, which in turns leads to list_rows giving errors about not finding the requested table.
cc @schlegelp who may be able to give a full example.
You may re-test it with version 3.4 server after it is released. In version 3.4, the server will use the parameter both as table_id and table_name to find a table.
I see. Would you be open to a PR that changes the behaviour to only use like_table_id
if the server is version 3.4.0 or higher?