-
Notifications
You must be signed in to change notification settings - Fork 16
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
Split scraper_utils.py
, legistar_utils.py
#95
Comments
from cdp_scrapers.utils import find_time_zone |
How can one identify top-level utility functions? |
Hello @mdahwireng . Thank you so much for your interest. That is a great question and I will add some more definition to this issue later today. |
As far as I can tell these are the functions defined at the file root level in those 2 files.
|
@dphoria Thanks. I will have a look at it |
@dphoria |
No, not at all. You are correct; the code has changed since when this issue was created. Sorry about that confusion. |
Feature Description
Take out top-level utility functions out of
scraper_utils.py
andlegistar_utils.py
into files undercdp_scrapers/utils
. The files have become too large. i.e. Those files will contain implementations forIngestionModelScraper
andLegistarScraper
only.Solution
Restructure so we will do something like
Alternatives
Functionally, the current state is completely adequate. I think the change will make for more manageable code.
The text was updated successfully, but these errors were encountered: