-
Notifications
You must be signed in to change notification settings - Fork 56
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
Factor out distribution logic #59
Comments
@beasteers I'm not entirely sure what this issue is about: I can see a proposed solution, but I'm not sure I understand the problem. Some of the distribution logic has been moved around via #54, in case you want to have a look and let me know whether that addresses your concerns. Otherwise, could you please provide a clear description of the problem, along with an example? No need to provide example code for the solution at this stage. Thanks! |
We changed how this works in #53. Does the current version of Scaper address this issue? @beasteers |
Closing this out in the absence of further comments. @beasteers feel free to re-open if you think there are any issues with the new setup, thanks! |
So this isn't a high-priority issue at all and I'm not suggesting we implement it any time soon, it's just something I've had on my mind for a while that I wanted to put on paper. Basically, just factoring out all of the distribution and event parameter validation so it's a bit cleaner and easier to add new distributions. Here's a rough sketch of what I was thinking. Obviously there are some things left to figure out, but I think it could potentially simplify the Scaper core logic nicely.
Distributions
Event Spec
The text was updated successfully, but these errors were encountered: