-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I need to delete the perspective table in python as part of session clearing. But table.delete() function throws an error like this. 'Cannot delete a Table with active views still linked to it - call delete() on each view, and try again.' When I tried to list the views associated to table with table.view() function , its not giving the views but views are listed in table._views array. How can I get the views of a table and delete it one by one before the table.delete?
Please find the below image for the error.
Also I want to know the best approach for session handling in perspective python API. How can we clear the tables stored in session on closing of web socket by each user? I want to delete tables in session for that particular user. Is it auto handled by perspective? If not Is there any user - table mapping info available? Please guide me with the best possible approach.