Open FirefighterBlu3 opened 2 years ago
Hi @FirefighterBlu3,
Thanks for reporting an issue with the docs. I can confirm that the fields
parameter is needed for service.about().get()
. I'll keep this issue open until the docs are fixed.
The following code worked to get information about the current user:
service.about().get(fields="user").execute()
You can also use *
during development to get all fields as described here.
For example,
service.about().get(fields="*").execute()
You'll achieve greater performance by only selecting the fields you need.
Environment details
python --version
pip --version
google-api-python-client
version:pip show google-api-python-client
Steps to reproduce
Code example
Stack trace
The docstring for this method indicates there are no explicit calling arguments:
Additionally, the documentation at https://developers.google.com/resources/api-libraries/documentation/drive/v3/python/latest/drive_v3.about.html also indicates there are no consumed arguments