-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Crawler properties does not work #429
Comments
You're right. According to https://docs.python.org/3/library/dataclasses.html#inheritance, subclasses of dataclasses also need the I'd consider switching from dataclasses to pydantic, which should only require changes to the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overriding the properties in CrawlerBase does not work. Properties like history_capable_date always use the default value from CrawlerBase even if they are overridden in a Crawler class.
It works if I remove the type hints, but I have not found any way to make it work with type hints.
comics/comics/aggregator/crawler.py
Line 80 in 899c2ac
The text was updated successfully, but these errors were encountered: