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

Fix improver framework not accepting severities #684

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

Hritik14
Copy link
Collaborator

@Hritik14 Hritik14 commented Apr 8, 2022

This was a silent bug which got highlighted after writing tests for #672

Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Same about importer

Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
@TG1999
Copy link
Contributor

TG1999 commented Apr 8, 2022

@Hritik14 thanks for this. Please close this issue as well #670, when this gets merged

@Hritik14 Hritik14 linked an issue Apr 8, 2022 that may be closed by this pull request
@Hritik14 Hritik14 merged commit 39ef487 into aboutcode-org:main Apr 8, 2022
@Hritik14 Hritik14 deleted the bugfix branch April 8, 2022 18:21
@@ -47,15 +47,15 @@ class ImportRunner:
- No valid data from the data source must be skipped or truncated.
"""

def __init__(self, importer: Importer):
self.importer = importer
def __init__(self, importer_class: Importer):
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think your type annotation is now incorrect?

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.

severities not getting stored in DB properly
3 participants