You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-details.md
+80-3Lines changed: 80 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
1
# PyWren API Details
2
2
3
3
## Executor
4
-
The primary object in PyWren is the executor. The standard way to get everything set up is to import pywren_ibm_cloud, and call on of the available methods to get a ready-to-use executor. The available executors are: `ibm_cf_executor()`, `knative_executor()`and `function_executor()`
4
+
The primary object in PyWren is the executor. The standard way to get everything set up is to import pywren_ibm_cloud, and call on of the available methods to get a ready-to-use executor. The available executors are: `ibm_cf_executor()`, `knative_executor()`, `function_executor()`, `local_executor()`and `docker_executor()`
Initialize and return a Localhost executor object. This executor runs the functions in local processes. All the parameters set in the executor will overwrite those set in the configuration.
67
+
68
+
69
+
|Parameter | Default | Description|
70
+
|---|---|---|
71
+
|config | None | Settings passed in here will override those in pywren_config|
72
+
|storage_backend | localhost | Storage backend to store temp data |
Initialize and return a Docker executor object. This executor runs the functions in local Dockers. All the parameters set in the executor will overwrite those set in the configuration.
85
+
86
+
87
+
|Parameter | Default | Description|
88
+
|---|---|---|
89
+
|config | None | Settings passed in here will override those in pywren_config|
90
+
|runtime | None | Name of the docker image to run the functions |
91
+
|storage_backend | localhost | Storage backend to store temp data |
0 commit comments