schrodinger.livedesign.endpoint_utils module¶
- schrodinger.livedesign.endpoint_utils.list_endpoints() dict[str, list[str]]¶
Get a dictionary mapping endpoint module names to their available function names.
- schrodinger.livedesign.endpoint_utils.ping() str¶
A simple ping endpoint to verify that the service is running.
- schrodinger.livedesign.endpoint_utils.echo(message: str) str¶
An echo endpoint that returns the input message.
- Parameters:
message – The message to echo back.
- Returns:
The same message.
- schrodinger.livedesign.endpoint_utils.get_endpoint_spec(module_name: str, func_name: str) dict[str, str]¶
Get the JSON interface specification for a given endpoint function.
- Parameters:
module_name – Name of the module containing the endpoint function.
func_name – Name of the function to get the spec for.
- Returns:
The JSON interface specification as a dictionary.