etl_lib.task.CreateReportingConstraintsTask module
- class CreateReportingConstraintsTask(context)[source]
Bases:
TaskCreates the constraint in the REPORTER_DATABASE database.
- __init__(context)[source]
Construct a Task object.
- Parameters:
context –
ETLContextinstance. Will be available to subclasses.
- run_internal(**kwargs)[source]
Place to provide the logic to be performed.
This base class provides all the housekeeping and reporting, so that implementation must/should not need to care about them. Exceptions should not be captured by implementations. They are handled by this base class.
- Parameters:
kwargs – will be passed to run_internal
- Return type:
- Returns:
An instance of
TaskReturn.