Skip to content

feat: Code Ocean version 4.3 functionality#69

Merged
zvikagart merged 2 commits intomainfrom
version-4-3
Apr 10, 2026
Merged

feat: Code Ocean version 4.3 functionality#69
zvikagart merged 2 commits intomainfrom
version-4-3

Conversation

@jake-valsamis
Copy link
Copy Markdown
Contributor

add owner and owner_email to capsule, computation, data asset objects

Copy link
Copy Markdown

Copilot AI left a 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 updates the Python SDK’s response models to reflect Code Ocean 4.3 by exposing ownership metadata (owner and owner_email) on core resources.

Changes:

  • Add owner / owner_email fields to Computation and DataAsset models.
  • Add owner_email field to the Capsule model.
  • Reorder DataAsset.last_used within the dataclass fields.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
src/codeocean/models/data_asset.py Adds ownership fields and reorders last_used in the DataAsset response model.
src/codeocean/models/computation.py Adds ownership fields to the Computation response model.
src/codeocean/models/capsule.py Adds owner_email to the Capsule response model.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/codeocean/models/computation.py
Comment thread src/codeocean/models/data_asset.py
Comment thread src/codeocean/models/data_asset.py
Comment thread src/codeocean/models/computation.py
Comment thread src/codeocean/models/capsule.py
@zvikagart zvikagart merged commit c0797df into main Apr 10, 2026
1 check passed
@zvikagart zvikagart deleted the version-4-3 branch April 10, 2026 19:12
@zvikagart zvikagart mentioned this pull request Apr 10, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants