globus_compute_register_python_function
Register a Python function with Globus Compute to enable remote execution. Then submit tasks to run the function on compute endpoints.
Instructions
Register a Python function with Globus Compute.
Use globus_compute_submit_task to run the registered Python function on an endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | Yes | Indicates whether the Python function can be used by others | |
| description | Yes | An optional description of the Python function | |
| function_code | Yes | The text of the Python function source code | |
| function_name | Yes | The name of the Python function |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_id | Yes | ID of the registered function |