DestinationPlugin
classView source ↗
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
method
View source ↗to_dictdef 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.
method
View source ↗trigger_outputdef 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
*argsThe data to be exported
parameter
**kwargsAdditional parameters to be used in the export
Returns:
None