Skip to content

Automatically parse topic to appropriate message type? #9

@remingtonc

Description

@remingtonc

Is there a function in here that will automatically parse a topic to the appropriate message type?
For example, in examples, you perform many if/else statements that correspond 1:1 on how to parse.
https://github.com/OpenBMP/openbmp-python-api-message/blob/master/examples/log_consumer.py#L32

Is there a generic function to do this in the API?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions