ServerPortfolio
2.0
Python parsers and server
|
Helper functions, all the functions to create a specific parser from a given action. More...
Public Member Functions | |
def | create_parser |
Return a specific parser, according to the action. More... | |
def | is_compatible |
Static Private Attributes | |
dictionary | _ACTION |
Possible action to perform and the associated parsers. More... | |
_logger = None | |
Helper functions, all the functions to create a specific parser from a given action.
Used only by UpdateStocks
Definition at line 510 of file UpdateStocks.py.
def serverportfolio.UpdateStocks.ParserFactory.create_parser | ( | cls, | |
e_action, | |||
option = {} |
|||
) |
Return a specific parser, according to the action.
Action determine the parser to use, the first one in the entry by default
e_action | EAction to perform |
option | optional parser. By default the first in the list is chosen (not implemented) |
Definition at line 534 of file UpdateStocks.py.
def serverportfolio.UpdateStocks.ParserFactory.is_compatible | ( | cls, | |
actual_parser, | |||
new_action_name | |||
) |
Definition at line 587 of file UpdateStocks.py.
|
staticprivate |
Possible action to perform and the associated parsers.
Definition at line 513 of file UpdateStocks.py.
|
staticprivate |
Definition at line 527 of file UpdateStocks.py.