parsers.parser_agents package¶
Module contents¶
This module is responsible for storing and collecting all the available parsers. To add a parser function or callable class, use the @parser decorator
-
parsers.parser_agents.parser(field)¶ The parser decorator. Decorate a function or a callable class with this and place it in the parser_agents folder and your parser will be available for use.
By default, when a parser’s parsing function is called, it is passed a snapshot message as recieved from the message queue
- Parameters
field – The field name parsed by the parser