Skip to content

Compatible bundle with item type error #677

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

Merged
merged 6 commits into from
Aug 23, 2022

Conversation

kevinlacaille
Copy link
Contributor

Validating item_type before bundle, so that the item type compatibility exception will propagate before the bundle validation exception.

Closes #618

@kevinlacaille kevinlacaille added this to the 2.0b1: Core 'MVP' milestone Aug 18, 2022
@kevinlacaille kevinlacaille self-assigned this Aug 18, 2022
@kevinlacaille kevinlacaille requested a review from sgillies August 18, 2022 14:55
@kevinlacaille kevinlacaille marked this pull request as ready for review August 18, 2022 14:55
Copy link
Contributor

@mkshah605 mkshah605 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense and looks good!

Copy link
Contributor

@sgillies sgillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinlacaille I may have found a issue that needs correction. I also made a couple suggestions to use Python language features for improved performance.

…and consistent. Raised a more verbose exception.
@kevinlacaille kevinlacaille requested a review from sgillies August 19, 2022 13:36
@kevinlacaille kevinlacaille requested a review from sgillies August 22, 2022 14:57
Copy link
Contributor

@sgillies sgillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @kevinlacaille !

@kevinlacaille kevinlacaille merged commit 1102cbb into main Aug 23, 2022
@kevinlacaille kevinlacaille deleted the compatible_bundle_with_item_type_error branch August 23, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

planet order request: be more helpful on what bundles are available for a given item_type
3 participants