Skip to main content
Version: 0.9.3

DestinationPlugin

class DestinationPlugin(*args, **kwargs)

Bases: ABC

Categories: plugin

Abstract class for output plugins.

Methods: trigger_output(*args, **kwargs) Trigger the exporting of the data. This function will receive the resulting data from the dataset function and must store it in the desired location.

Methods

to_dict
def to_dict() -> dict

Return a dictionary representation of the object. This is used to save the object in a file.

Returns:

dict: A dictionary with the object's attributes.

trigger_output
def trigger_output(*args, **kwargs)

Trigger the exporting of the data. This function will receive the resulting data from the dataset function and must store it in the desired location.

Parameters:

parameter
*args

The data to be exported

parameter
**kwargs

Additional parameters to be used in the export

Returns:

None