Conversation
Contributor
jake-valsamis
commented
Aug 29, 2025
- add get_data_asset_file_urls and get_result_file_urls
- add deprecation warnings for get_data_asset_file_download_url and get_result_file_download_url
- bump min server version
There was a problem hiding this comment.
Pull Request Overview
This PR adds Code Ocean version 4.0 functionality with new URL generation methods for both data assets and computation results. The changes deprecate existing single-URL methods in favor of new methods that provide both view and download URLs.
- Adds new
get_data_asset_file_urlsandget_result_file_urlsmethods that return both view and download URLs - Deprecates existing
get_data_asset_file_download_urlandget_result_file_download_urlmethods with warnings - Updates minimum server version requirement to 4.0.0
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/codeocean/folder.py | Adds FileURLs dataclass and deprecation warning to DownloadFileURL |
| src/codeocean/data_asset.py | Adds get_data_asset_file_urls method and deprecates get_data_asset_file_download_url |
| src/codeocean/computation.py | Adds get_result_file_urls method and deprecates get_result_file_download_url |
| src/codeocean/client.py | Updates minimum server version to 4.0.0 and adds custom metadata support |
| src/codeocean/custom_metadata.py | Adds new custom metadata schema functionality |
| src/codeocean/capsule.py | Adds comprehensive App Panel support with new dataclasses and methods |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
e0e3e3e to
9750b06
Compare
9750b06 to
b45f341
Compare
zvikagart
approved these changes
Sep 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.