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

support more report formats #2042

Merged
merged 1 commit into from
May 7, 2024
Merged

support more report formats #2042

merged 1 commit into from
May 7, 2024

Conversation

mr-tz
Copy link
Collaborator

@mr-tz mr-tz commented Mar 26, 2024

closes #2035

Checklist

  • No CHANGELOG update needed
  • No new tests needed
  • No documentation update needed

Copy link
Collaborator

@mike-hunhoff mike-hunhoff left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Collaborator

@yelhamer yelhamer left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -398,7 +398,7 @@ class CapeReport(FlexibleModel):
behavior: Behavior

# post-processed results: payloads and extracted configs
CAPE: Optional[Cape] = None
CAPE: Optional[Union[Cape, List]] = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

list of?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In the provided sample report it's an empty list and that's why it fails

...
  "CAPE": [],
...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

if there's a better definition for this case, let's use that

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

that didn't fly in my short testing

@williballenthin williballenthin merged commit 8298347 into master May 7, 2024
27 checks passed
@williballenthin williballenthin deleted the fix/2035 branch May 7, 2024 13:24
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.

Method to identify an incomplete CAPE report
4 participants