Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SharePointUtilities #42

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

MikeEvansLarah
Copy link
Contributor

Adds the SharePointUtilities class in a new sharepoint sub-module.

The utilities include the following methods:

  • retrieve_image_as_base64
  • save_file
  • update_sharepoint_columns
  • get_file_download_url
  • get_download_urls_for_files_in_folder

Copy link

github-actions bot commented Dec 24, 2024

Test Results

20 tests  +13   20 ✅ +13   0s ⏱️ ±0s
 3 suites ± 0    0 💤 ± 0 
 2 files   ± 0    0 ❌ ± 0 

Results for commit a55cf2e. ± Comparison against base commit fe661d6.

♻️ This comment has been updated with latest results.

"example.sharepoint.com", "site_name", "library_name", {
"Accept": "application/json",
"Content-Type": "application/json; charset=utf-8",
"Authorization": "Bearer fake_token"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have a few instances where you have "Bearer fake_token" where most of them use f"Bearer {token}". Might be nice to make this consistent in all tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants