singer_sdk.singerlib.messages.Message

class singer_sdk.singerlib.messages.Message[source]

Singer base message.

classmethod from_dict(data)[source]

Create an encoding from a dictionary.

Parameters:

data (dict[str, Any]) – The dictionary to create the message from.

Returns:

The created message.

Return type:

Message

__init__()[source]
Return type:

None

to_dict()[source]

Return a dictionary representation of the message.

Returns:

A dictionary with the defined message fields.

Return type:

dict[str, Any]

type: SingerMessageType[source]

The message type.