Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically parse topic to appropriate message type? #9

Open
remingtonc opened this issue Apr 28, 2017 · 1 comment
Open

Automatically parse topic to appropriate message type? #9

remingtonc opened this issue Apr 28, 2017 · 1 comment

Comments

@remingtonc
Copy link
Contributor

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?

@TimEvens
Copy link
Contributor

Not yet, but this will be good to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants