tooluniverse.ctg_tool module¶
- tooluniverse.ctg_tool.deepcopy(x, memo=None, _nil=[])[source][source]¶
Deep copy operation on arbitrary Python objects.
See the module’s __doc__ string for more info.
- tooluniverse.ctg_tool.urljoin(base, url, allow_fragments=True)[source][source]¶
Join a base URL and a possibly relative URL to form an absolute interpretation of the latter.
- class tooluniverse.ctg_tool.RESTfulTool(tool_config, endpoint_url)[source][source]¶
Bases:
GraphQLTool
- tooluniverse.ctg_tool.register_tool(tool_type_name=None, config=None)[source][source]¶
Decorator to automatically register tool classes and their configs.
- Usage:
@register_tool(‘CustomToolName’, config={…}) class MyTool:
pass
- class tooluniverse.ctg_tool.ClinicalTrialsTool(tool_config)[source][source]¶
Bases:
RESTfulTool
- class tooluniverse.ctg_tool.ClinicalTrialsSearchTool(tool_config)[source][source]¶
Bases:
ClinicalTrialsTool
- class tooluniverse.ctg_tool.ClinicalTrialsDetailsTool(tool_config)[source][source]¶
Bases:
ClinicalTrialsTool