xia_pusher_flask.api.PusherApi
- class xia_pusher_flask.api.PusherApi
Bases:
AgentFunctionApi
- __init__()
Methods
__init__
()get_pusher_blueprint
(path_name, pusher, ...)Get blueprint of a Data Puller
get_response
(rest_response)- classmethod get_pusher_blueprint(path_name: str, pusher: Type[Pusher], parser: Type[FlaskRequestParser], agent: Agent)
Get blueprint of a Data Puller
- Parameters
path_name – path name to be registered in application
pusher – AgentFunction class for pusher
parser – Parse class for parsing flask’s request
agent (Agent) – Agent object (contain agent configuration)