databay.outlets.print_outlet¶
-
class
databay.outlets.print_outlet.
PrintOutlet
(only_payload: bool = False, skip_update: bool = False, *args, **kwargs)[source]¶ databay.outlets.print_outlet.PrintOutlet
Outlet that will print all records one by one.
- Parameters
Bases:
databay.outlet.Outlet
-
push
(self, records: [Record], update)[source]¶ async
Prints the records.
- Parameters
records (list[
Record
]) – List of records generated by inlets. Each top-level element of this array corresponds to one inlet that successfully returned data. Note that inlets could return arrays too, making this a nested array.update (
Update
) – Update object representing the particular Link update run.