mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
remove unused logs and commented lines
This commit is contained in:
parent
ab40bca32b
commit
ff2df292a8
2 changed files with 0 additions and 5 deletions
|
|
@ -16,8 +16,6 @@ logger = setup_logger()
|
|||
class CotalityClient:
|
||||
def __init__(self, token: str):
|
||||
|
||||
logger.info(f"Container UTC time: {datetime.now(timezone.utc)}")
|
||||
|
||||
self.token = token
|
||||
self.company_id = "cb5249e2-8f31-4ef4-aefd-08ddaccb1fa2"
|
||||
self.base = "https://pashub.net/api"
|
||||
|
|
@ -57,7 +55,6 @@ class CotalityClient:
|
|||
)
|
||||
|
||||
download_url: str = self._build_download_url(metadata, evidence.file_id)
|
||||
logger.info(f"Download URL: {download_url}")
|
||||
file_name = evidence.file_name
|
||||
|
||||
self._download_file(download_url, file_name)
|
||||
|
|
|
|||
|
|
@ -20,9 +20,7 @@ def handler(event: Mapping[str, Any], context: Any) -> None:
|
|||
raise
|
||||
|
||||
client = CotalityClient(token=token)
|
||||
# uprn = "100061885568" # TODO: get from request body
|
||||
job_id = "5abf6e27-e4c4-4ba8-b69d-9e34939e0002" # TODO: get from request body
|
||||
|
||||
saved_files: List[str] = client.get_core_envidence_files_by_job_id(job_id)
|
||||
# saved_files: List[str] = client.get_evidence_files_by_uprn(uprn=uprn)
|
||||
print(f"saved {len(saved_files)} files")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue