morpheus.messages.message_meta.UserMessageMeta

class UserMessageMeta(*args, **kwargs)[source]

Bases: morpheus.messages.message_meta.MessageMeta

This class extends MessageMeta to also hold userid corresponding to batched metadata.

Parameters
dfpandas.DataFrame

Input rows in dataframe.

user_idstr

User id.

Attributes
count

Returns the number of messages in the batch.

property count: int

Returns the number of messages in the batch.

Returns
int

number of messages in the MessageMeta.df.

© Copyright 2023, NVIDIA. Last updated on Feb 3, 2023.