Skip to content

Commit

Permalink
Initial support for sitepages namespace in OneDrive, download_folder …
Browse files Browse the repository at this point in the history
…method
  • Loading branch information
vgrem committed Mar 16, 2024
1 parent c2e2f47 commit 7ad1a0c
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 64 deletions.
4 changes: 2 additions & 2 deletions examples/onedrive/folders/upload.py
Expand Up @@ -16,5 +16,5 @@ def print_progress(uploaded_file):
test_tenant, test_client_id, test_username, test_password
)
local_path = "../../data"
target_folder = client.me.drive.root.get_by_path("Import")
target_folder.upload_folder(local_path, print_progress).execute_query()
drive_item = client.me.drive.root.get_by_path("Import")
drive_item.upload_folder(local_path, print_progress).execute_query()

0 comments on commit 7ad1a0c

Please sign in to comment.