mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
no more etl/src
This commit is contained in:
parent
baf93e220d
commit
58e77cce83
9 changed files with 9 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
cd etl && poetry install;
|
||||
poetry install;
|
||||
|
||||
# Get the Poetry virtual environment path
|
||||
VENV_PATH=$(poetry env info --path 2>/dev/null)
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ def main():
|
|||
# pprint(list_)
|
||||
|
||||
# POC Scraper -> This part of the code get ths names of wrong format
|
||||
#south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION_SERVICE)
|
||||
#list_of_names = south_coast_scraper.list_of_names_that_has_the_wrong_date_format()
|
||||
#logger.info(pformat(list_of_names))
|
||||
south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION_SERVICE)
|
||||
list_of_names = south_coast_scraper.list_of_names_that_has_the_wrong_date_format()
|
||||
logger.info(pformat(list_of_names))
|
||||
|
||||
# POC Scraper -> This part of the code gets every variation of housing_assocation names
|
||||
# south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION_SERVICE)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from utils.logger import Logger
|
||||
from etl.utils.logger import Logger
|
||||
import logging
|
||||
import pymupdf
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
poetry run python src/etl/main.py
|
||||
|
|
@ -11,7 +11,7 @@ from functools import wraps
|
|||
import time
|
||||
import logging
|
||||
from io import BytesIO
|
||||
from utils.logger import Logger
|
||||
from etl.utils.logger import Logger
|
||||
|
||||
|
||||
logger = Logger(name="SharePoint.py", level=logging.DEBUG).get_logger()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import os
|
||||
import logging
|
||||
from utils.logger import Logger
|
||||
from etl.utils.logger import Logger
|
||||
import re
|
||||
|
||||
class DomnaSharePointValidator():
|
||||
|
|
|
|||
0
etl/poetry.lock → poetry.lock
generated
0
etl/poetry.lock → poetry.lock
generated
|
|
@ -13,7 +13,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[tool.poetry]
|
||||
packages = [{include = "etl", from = "src"}]
|
||||
packages = [{include = "etl"}]
|
||||
|
||||
|
||||
[build-system]
|
||||
1
run_etl.sh
Normal file
1
run_etl.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
poetry run python etl/main.py
|
||||
Loading…
Add table
Reference in a new issue