nithinmurali / pygsheets

Google Sheets Python API v4
https://pygsheets.readthedocs.io/en/latest
Other
1.5k stars 220 forks source link

Fix typo in client.py & Added query=None, fid=None parameters to client.open #550

Open Torndeco opened 2 years ago

Torndeco commented 2 years ago

Added query so can filter out opening spreadsheets that are trashed 'trashed=false', also added open to open via file id

nithinmurali commented 2 years ago

Thank you for the PR!

nithinmurali commented 2 years ago

I am concerned about removing the index access from here. It looks like that function returns a list hence index access is necessary.