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

refactor: hide SnapshotValue from Snapshot API #494

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Hide SnapshotValue in Snapshot's API by returning Union[bytes, str] instead, while keeping SnapshotValue in the internal implementation.

Link to Devin run: https://app.devin.ai/sessions/c9899ce0f61e45f5837ef22b3832e481

Change Snapshot's API to return Union[bytes, str] instead of SnapshotValue while keeping SnapshotValue in the internal implementation.

Co-Authored-By: [email protected] <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

@nedtwigg
Copy link
Member

This was interesting, and I think it is much more pythonic, but the Snapshot is almost never exposed to users anyway, so I think the added internal complexity it adds is not worth it. Great PR though, good job Devin!

@nedtwigg nedtwigg closed this Dec 12, 2024
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.

1 participant