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

Avoid double serialization in CVE and CPE dataset load. #447

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

J08nY
Copy link
Member

@J08nY J08nY commented Oct 18, 2024

The CVE/CPEDataset.from_web method already serializes to the path, so move the serialization call to the other branch.

J08nY added 2 commits October 18, 2024 22:10
The CVE/CPEDataset.from_web method already serializes to the path,
so move the serialization call to the other branch.
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 67.40%. Comparing base (2a3d45c) to head (4325e46).

Files with missing lines Patch % Lines
src/sec_certs/dataset/dataset.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #447      +/-   ##
==========================================
+ Coverage   66.47%   67.40%   +0.94%     
==========================================
  Files          62       62              
  Lines        7609     7609              
==========================================
+ Hits         5057     5128      +71     
+ Misses       2552     2481      -71     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

It is now very nice and clean!
@J08nY J08nY marked this pull request as ready for review October 19, 2024 10:09
@J08nY J08nY merged commit e2ec7f0 into main Oct 19, 2024
4 checks passed
@J08nY J08nY deleted the fix/notebooks-aux-dsets branch October 19, 2024 10:09
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