tune_reporting.helpers package¶
Submodules¶
tune_reporting.helpers.report_export_worker module¶
tune_reporting.helpers.report_reader_base module¶
tune report_reader_base
-
class
tune_reporting.helpers.report_reader_base.ReportReaderBase(report_url)[source]¶ Bases:
objectBase Abstract class.
Constructor
Parameters: report_url (str) – Download report URL. -
count¶ Count number of row within gather file data.
Returns: Count Return type: int
-
data¶ Provide created reader populated with file data.
-
read¶ Get property for TuneManagementRequest Action Name.
-
report_url¶ REPORT_URL of completed report on SQS.
-
tune_reporting.helpers.report_reader_csv module¶
TUNE Advertiser Report CSV Reader¶
-
class
tune_reporting.helpers.report_reader_csv.ReportReaderCSV(report_url)[source]¶ Bases:
tune_reporting.helpers.report_reader_base.ReportReaderBaseHelper class for reading reading remote CSV file
The constructor.
Parameters: report_url (str) – Report URL to be downloaded.
tune_reporting.helpers.report_reader_json module¶
TUNE Advertiser Report JSON Reader¶
-
class
tune_reporting.helpers.report_reader_json.ReportReaderJSON(report_url)[source]¶ Bases:
tune_reporting.helpers.report_reader_base.ReportReaderBaseHelper class for reading reading remote JSON file
The constructor.
Parameters: report_url (str) – Report URL to be downloaded.
tune_reporting.helpers.sdk_config module¶
tune_reporting.helpers.sdk_exception module¶
TUNE SDK Exception¶
-
exception
tune_reporting.helpers.sdk_exception.TuneSdkException(message=None, errors=None)[source]¶ Bases:
exceptions.ExceptionException raised for errors when using TUNE SDK
Tune SDK exception constructor
Parameters: - message (str) – Message describing error.
- exc (Exception) – Caught exception.
-
errors¶ Get property of error object.
tune_reporting.helpers.service_exception module¶
TUNE Service Exception¶
-
exception
tune_reporting.helpers.service_exception.TuneSdkException(message=None, errors=None)[source]¶ Bases:
exceptions.ExceptionException raised for errors when using TUNE SDK
TUNE SDK exception constructor
Parameters: - message (str) – Message describing error.
- exc (Exception) – Caught exception.
-
errors¶ Get property of error object.
-
exception
tune_reporting.helpers.service_exception.TuneServiceException(message=None, errors=None)[source]¶ Bases:
exceptions.ExceptionException raised when error is returned from TUNE Management Service
TUNE Reporting API Service exception constructor
Parameters: - message (str) – Message describing error.
- exc (Exception) – Caught exception.
tune_reporting.helpers.utf8_recorder module¶
tune_reporting.helpers.utils module¶
Module contents¶
tune shared module