-
Notifications
You must be signed in to change notification settings - Fork 8
add file download, and file delete operations #78
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds file download and delete operations to the Dataverse client, expanding the existing file upload capabilities. The changes rename the file operations module to reflect its broader scope and implement two new methods for retrieving and removing files from Dataverse file columns.
Key Changes:
- Renamed
_upload.pymodule to_file_operations.pyto reflect expanded functionality - Added
download_file()method to retrieve files from Dataverse file columns - Added
delete_file()method to remove files from Dataverse file columns
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/PowerPlatform/Dataverse/data/_odata.py | Updated imports and class inheritance to use renamed _ODataFileOperations class |
| src/PowerPlatform/Dataverse/data/_file_operations.py | Renamed from _upload.py, added _download_file() and _delete_file() methods, updated class docstring |
| src/PowerPlatform/Dataverse/client.py | Added public download_file() and delete_file() methods with documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@microsoft-github-policy-service agree company="Solet sp. z o.o." |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Formatting issues reported by Black have been fixed. |
No description provided.