Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

Use of SELECT statement not working when attempting to query files or folders

Open willmogann opened this issue 1 year ago • 1 comments

Hello, I am attempting to run the following query:

client.me.drive.root.get_files(True).select(["name"]).execute_query()

This does not produce the expected result. All attributes of each DriveItem are still returned, thus the SELECT query option is being ignored. This issue persists when attempting to use get_folders() as well as calling these queries without the recursive parameter. Is this something that is not possible, or a bug? Thanks.

willmogann avatar Aug 16 '24 20:08 willmogann

I'm having the same issue but for a SharePoint List v2

DanielEstehghariSopra avatar Jun 16 '25 13:06 DanielEstehghariSopra