I have a google sheet that contains multiple filter views with a range that spans the entirety of the spreadseet (Range: A1:D) As there are currently 9 rows of data, the filter view's range is set to A1:D9. I regularly add to this spreadsheet using a python script with the gspread library and as a result, I have to manually update the filter view's range to encompass the spreadsheet's new size.
Is there a way to do this through code? I have found various posts about it alluding to such a feature but no code snippets for me to learn from. My attempt to investigate the issue myself involved running my script through debug on my IDE to try and find any properties of my spreadsheet object that contained any kind of variable storing the filter views but I was unable to find anything.
Is what I am asking for possible?