-
-
Notifications
You must be signed in to change notification settings - Fork 369
Open
Labels
Description
Currently there appears to be no way to add the token query parameter to a sharepoint driveitem delta request.
site.drive.root.delta
my current workaround is to provide a custom query param like so:
query = site.drive.root.delta
query.query_options.custom = {
"$a=b&token" : "2025-03-10T20%3A00%3A00Z" #a=b to ignore bug in library where all params are prepended with $
}
I have to add "a=b&" to the name of my query param, as the QueryOptions
class prepends every query parameter with a $:
def to_url(self):
"""Convert query options to url"""
return "&".join(["$%s=%s" % (key, value) for (key, value) in self])
Please add the functionality to add this query parameter or point me in the right direction. Maybe I am using the wrong code to build this request.
Thanks in advance.
vgrem