tooluniverse.restful_tool module

class tooluniverse.restful_tool.MonarchDiseasesForMultiplePhenoTool(tool_config)[source]

Bases: MonarchTool

__init__(tool_config)[source]
run(arguments)[source]

Execute the tool.

The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.

class tooluniverse.restful_tool.MonarchTool(tool_config)[source]

Bases: RESTfulTool

__init__(tool_config)[source]
run(arguments)[source]

Execute the tool.

The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.

class tooluniverse.restful_tool.RESTfulTool(tool_config, endpoint_url)[source]

Bases: GraphQLTool

__init__(tool_config, endpoint_url)[source]
run(arguments)[source]

Execute the tool.

The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.

tooluniverse.restful_tool.execute_RESTful_query(endpoint_url, variables=None)[source]