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

Correction in SplashAwareDupeFilter.__init__() #322

Conversation

protokoul
Copy link
Contributor

@protokoul protokoul commented Jan 24, 2025

This PR attempts to resolve #321

Corrected SplashAwareDupeFilter.__init__()'s signature
Call super().__init__() within SplashAwareDupeFilter.__init__()

@Gallaecio Gallaecio merged commit bef8bf3 into scrapy-plugins:master Jan 27, 2025
5 checks passed
Copy link

@le0park le0park left a comment

Choose a reason for hiding this comment

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

@protokoul
Could you check this comment?

@@ -129,6 +136,7 @@ def __init__(self):
DeprecationWarning,
stacklevel=2,
)
super().__init__(path, debug, fingerprinter)
Copy link

@le0park le0park Feb 11, 2025

Choose a reason for hiding this comment

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

This line should be:

        super().__init__(path, debug, fingerprinter=fingerprinter)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me correct this. Thank you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Raised a PR #328

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.

SplashAwareDupeFilter.__init__() is incompatible with the parent __init__()
4 participants