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