Skip to content

Allow ICSApiError to be pickled and un-pickled #1341

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 1 commit into from
Jun 28, 2022

Conversation

pierreluctg
Copy link
Collaborator

Fix TypeError when trying to un-pickle ICSApiError.

TypeError: __init__() missing 4 required positional arguments: 'description_short', 'description_long', 'severity', and 'restart_needed'

@codecov
Copy link

codecov bot commented Jun 28, 2022

Codecov Report

Merging #1341 (4245010) into develop (d330522) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1341      +/-   ##
===========================================
+ Coverage    65.95%   66.01%   +0.06%     
===========================================
  Files           86       86              
  Lines         8958     8960       +2     
===========================================
+ Hits          5908     5915       +7     
+ Misses        3050     3045       -5     

@pierreluctg pierreluctg added this to the 4.0.1 milestone Jun 28, 2022
@pierreluctg pierreluctg merged commit 5bca2d7 into develop Jun 28, 2022
@pierreluctg pierreluctg deleted the ICSApiError-pickle branch June 28, 2022 18:52
@felixdivo felixdivo modified the milestones: 4.0.1, 4.1.0 Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants