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

Default to returning RuntimeJobv2 in jobs() #2156

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

Conversation

kt474
Copy link
Member

@kt474 kt474 commented Feb 21, 2025

Summary

When retrieving jobs with service.jobs(), there is no way to distinguish between v1 and v2 primitives. Since the v1 primitives were completely removed over 6 months ago in 0.28.0, we should default to returning RuntimeJobV2.

There shouldn't be a purpose for RuntimeJob anymore so we can handle its deprecations and removal in a separate PR.

Details and comments

Fixes #

@kt474 kt474 added the Changelog: Bugfix Include in the Fixed section of the changelog label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the Fixed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant