NVIDIA Morpheus (24.06)

morpheus.messages.message_base.MessageImpl

class MessageImpl(name, bases, namespace, /, cpp_class=None, **kwargs)[source]

Bases: abc.ABCMeta

Metaclass to switch between Python & C++ message implementations at construction time. Note: some classes don’t have a C++ implementation, but do inherit from a class that does (ex UserMessageMeta & InferenceMemoryAE) these classes also need this metaclass to prevent creating instances of their parent’s C++ impl.

Methods

__call__(*args, **kwargs) Call self as a function.
mro(/) Return a type's method resolution order.
register(subclass) Register a virtual subclass of an ABC.
mro(/)

Return a type’s method resolution order.

register(subclass)[source]

Register a virtual subclass of an ABC.

Returns the subclass, to allow usage as a class decorator.

Previous morpheus.messages.message_base.MessageData
Next morpheus.messages.message_meta
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.