patient_tracker.transform_referrals_filter package#
Module contents#
- class patient_tracker.transform_referrals_filter. TransformReferralsFilterTask ( * args , ** kwargs )#
-
Bases:
CatalystTaskTransformer from the REFERRAL table to an intermediate file
- _abc_impl = <_abc._abc_data object> #
- _namespace_at_class_time = '' #
- _read () DataFrame #
- _write ()#
- clone_parent ( ** kwargs )#
- clone_parents ( ** kwargs )#
- name = 'transform-referrals-filter' #
- output ()#
-
The output that this Task produces.
The output of the Task determines if the Task needs to be run–the task is considered finished iff the outputs all exist. Subclasses should override this method to return a single
Targetor a list ofTargetinstances.- Implementation note
-
If running multiple workers, the output must be a resource that is accessible by all workers, such as a DFS or database. Otherwise, workers might compute the same output since they don’t see the work done by other workers.
See Task.output
- referral_filter_on = <luigi.parameter.BoolParameter object> #
- requires ()#
-
The Tasks that this Task depends on.
A Task will only run if all of the Tasks that it requires are completed. If your Task does not require any other Tasks, then you don’t need to override this method. Otherwise, a subclass can override this method to return a single Task, a list of Task instances, or a dict whose values are Task instances.
See Task.requires
- run ()#
-
The task run method, to be overridden in a subclass.
See Task.run