If query with the same hash is requested, we might want to check already generated files instead creating new DV360 report from scratch.
The proposed logic:
- calculate query hash and save to .txt. Inside it store report_id and query_id
- when running a query check if .txt is presented, read report_id and query_id from it and pass to api_clients.
If query with the same hash is requested, we might want to check already generated files instead creating new DV360 report from scratch.
The proposed logic: