diff --git a/docs/api/current.ipynb b/docs/api/current.ipynb
index 02f9104d..65998bf5 100644
--- a/docs/api/current.ipynb
+++ b/docs/api/current.ipynb
@@ -24,10 +24,10 @@
"id": "d4c02781",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:14.300870Z",
- "iopub.status.busy": "2022-07-23T21:47:14.298481Z",
- "iopub.status.idle": "2022-07-23T21:47:15.030724Z",
- "shell.execute_reply": "2022-07-23T21:47:15.031601Z"
+ "iopub.execute_input": "2023-01-17T14:58:35.186859Z",
+ "iopub.status.busy": "2023-01-17T14:58:35.186515Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.824263Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.823521Z"
}
},
"outputs": [],
@@ -66,6 +66,19 @@
" pass\n",
" def extend(self):\n",
" pass\n",
+ " \n",
+ " # TODO: move this doc to an appropriate place, maybe task.py?\n",
+ " @property\n",
+ " def parameter_names(self):\n",
+ " \"\"\"\n",
+ " The names of the Parameters defined in the flow.\n",
+ "\n",
+ " Returns\n",
+ " -------\n",
+ " List[str]\n",
+ " Parameter names.\n",
+ " \"\"\"\n",
+ " pass\n",
"\n",
" # TODO: Move these docs to project_decorator.py\n",
" @property\n",
@@ -163,10 +176,10 @@
"id": "7fdb7184",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.037672Z",
- "iopub.status.busy": "2022-07-23T21:47:15.036144Z",
- "iopub.status.idle": "2022-07-23T21:47:15.044700Z",
- "shell.execute_reply": "2022-07-23T21:47:15.045561Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.831200Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.830800Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.855834Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.855035Z"
}
},
"outputs": [
@@ -185,7 +198,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 2,
@@ -203,10 +216,10 @@
"id": "fa61bd9b",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.051426Z",
- "iopub.status.busy": "2022-07-23T21:47:15.050098Z",
- "iopub.status.idle": "2022-07-23T21:47:15.055614Z",
- "shell.execute_reply": "2022-07-23T21:47:15.054028Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.862844Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.862533Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.867983Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.867026Z"
}
},
"outputs": [
@@ -225,7 +238,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 3,
@@ -243,10 +256,10 @@
"id": "16a90815",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.062339Z",
- "iopub.status.busy": "2022-07-23T21:47:15.060545Z",
- "iopub.status.idle": "2022-07-23T21:47:15.066178Z",
- "shell.execute_reply": "2022-07-23T21:47:15.065246Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.875610Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.875290Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.880727Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.879768Z"
}
},
"outputs": [
@@ -265,7 +278,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 4,
@@ -283,10 +296,10 @@
"id": "f278667f",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.072011Z",
- "iopub.status.busy": "2022-07-23T21:47:15.070608Z",
- "iopub.status.idle": "2022-07-23T21:47:15.075673Z",
- "shell.execute_reply": "2022-07-23T21:47:15.074797Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.887747Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.887453Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.891981Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.891376Z"
}
},
"outputs": [
@@ -305,7 +318,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 5,
@@ -323,10 +336,10 @@
"id": "f4be98ad",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.081136Z",
- "iopub.status.busy": "2022-07-23T21:47:15.080058Z",
- "iopub.status.idle": "2022-07-23T21:47:15.083743Z",
- "shell.execute_reply": "2022-07-23T21:47:15.084583Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.898783Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.898277Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.903614Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.902578Z"
}
},
"outputs": [
@@ -345,7 +358,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 6,
@@ -363,10 +376,10 @@
"id": "a97ad305",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.090674Z",
- "iopub.status.busy": "2022-07-23T21:47:15.089335Z",
- "iopub.status.idle": "2022-07-23T21:47:15.095744Z",
- "shell.execute_reply": "2022-07-23T21:47:15.094713Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.913563Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.913008Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.918576Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.917662Z"
}
},
"outputs": [
@@ -374,18 +387,18 @@
"data": {
"text/html": [
"\n",
- " property
current.retry_count
The index of the task exeuction attempt.
This property returns 0 for the first attempt to execute the task.
If the @retry decorator is used and the first attempt fails, this
property returns the number of times the task was attempted prior
to the current attempt.
Returns
-------
int
The retry count.
\n",
+ " property
current.retry_count
The index of the task execution attempt.
This property returns 0 for the first attempt to execute the task.
If the @retry decorator is used and the first attempt fails, this
property returns the number of times the task was attempted prior
to the current attempt.
Returns
-------
int
The retry count.
\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"\n",
"\n",
"\n",
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 7,
@@ -403,10 +416,10 @@
"id": "b73e163c",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.102434Z",
- "iopub.status.busy": "2022-07-23T21:47:15.100166Z",
- "iopub.status.idle": "2022-07-23T21:47:15.106241Z",
- "shell.execute_reply": "2022-07-23T21:47:15.105068Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.927445Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.927095Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.933463Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.932646Z"
}
},
"outputs": [
@@ -425,7 +438,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 8,
@@ -443,10 +456,10 @@
"id": "16dd0a74",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.112362Z",
- "iopub.status.busy": "2022-07-23T21:47:15.110660Z",
- "iopub.status.idle": "2022-07-23T21:47:15.116832Z",
- "shell.execute_reply": "2022-07-23T21:47:15.115714Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.941155Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.940414Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.945777Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.944984Z"
}
},
"outputs": [
@@ -465,7 +478,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 9,
@@ -483,10 +496,10 @@
"id": "8f758f03",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.122853Z",
- "iopub.status.busy": "2022-07-23T21:47:15.121495Z",
- "iopub.status.idle": "2022-07-23T21:47:15.126437Z",
- "shell.execute_reply": "2022-07-23T21:47:15.125469Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.956046Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.954882Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.966475Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.964318Z"
}
},
"outputs": [
@@ -505,7 +518,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 10,
@@ -523,10 +536,10 @@
"id": "feaa6830",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.132123Z",
- "iopub.status.busy": "2022-07-23T21:47:15.130900Z",
- "iopub.status.idle": "2022-07-23T21:47:15.136152Z",
- "shell.execute_reply": "2022-07-23T21:47:15.134956Z"
+ "iopub.execute_input": "2023-01-17T14:58:37.974436Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.974052Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.980825Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.979118Z"
}
},
"outputs": [
@@ -545,7 +558,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 11,
@@ -557,6 +570,46 @@
"ShowDoc(current.username)"
]
},
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "id": "d7b320dd",
+ "metadata": {
+ "execution": {
+ "iopub.execute_input": "2023-01-17T14:58:37.988343Z",
+ "iopub.status.busy": "2023-01-17T14:58:37.987998Z",
+ "iopub.status.idle": "2023-01-17T14:58:37.993120Z",
+ "shell.execute_reply": "2023-01-17T14:58:37.992377Z"
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ " property
current.parameter_names
The names of the Parameters defined in the flow.
Returns
-------
List[str]
Parameter names.
\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ ""
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "execution_count": 12,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "ShowDoc(current.parameter_names)"
+ ]
+ },
{
"cell_type": "markdown",
"id": "12733ec9",
@@ -579,14 +632,14 @@
},
{
"cell_type": "code",
- "execution_count": 12,
+ "execution_count": 13,
"id": "437b253d",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.141588Z",
- "iopub.status.busy": "2022-07-23T21:47:15.140514Z",
- "iopub.status.idle": "2022-07-23T21:47:15.144568Z",
- "shell.execute_reply": "2022-07-23T21:47:15.145624Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.002210Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.001825Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.009106Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.007559Z"
}
},
"outputs": [
@@ -605,10 +658,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 12,
+ "execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
@@ -619,14 +672,14 @@
},
{
"cell_type": "code",
- "execution_count": 13,
+ "execution_count": 14,
"id": "fe5e9e0a",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.152143Z",
- "iopub.status.busy": "2022-07-23T21:47:15.150619Z",
- "iopub.status.idle": "2022-07-23T21:47:15.156329Z",
- "shell.execute_reply": "2022-07-23T21:47:15.154706Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.017607Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.016823Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.024153Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.023156Z"
}
},
"outputs": [
@@ -645,10 +698,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 13,
+ "execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
@@ -659,14 +712,14 @@
},
{
"cell_type": "code",
- "execution_count": 14,
+ "execution_count": 15,
"id": "1097fb92",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.162060Z",
- "iopub.status.busy": "2022-07-23T21:47:15.160943Z",
- "iopub.status.idle": "2022-07-23T21:47:15.165662Z",
- "shell.execute_reply": "2022-07-23T21:47:15.164766Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.033300Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.032944Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.038079Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.037367Z"
}
},
"outputs": [
@@ -685,10 +738,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 14,
+ "execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
@@ -699,14 +752,14 @@
},
{
"cell_type": "code",
- "execution_count": 15,
+ "execution_count": 16,
"id": "836d028b",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.171591Z",
- "iopub.status.busy": "2022-07-23T21:47:15.170490Z",
- "iopub.status.idle": "2022-07-23T21:47:15.175622Z",
- "shell.execute_reply": "2022-07-23T21:47:15.174397Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.064827Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.064428Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.074322Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.072386Z"
}
},
"outputs": [
@@ -725,10 +778,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 15,
+ "execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
@@ -739,14 +792,14 @@
},
{
"cell_type": "code",
- "execution_count": 16,
+ "execution_count": 17,
"id": "96348e52",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.181192Z",
- "iopub.status.busy": "2022-07-23T21:47:15.180121Z",
- "iopub.status.idle": "2022-07-23T21:47:15.184133Z",
- "shell.execute_reply": "2022-07-23T21:47:15.185183Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.084647Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.084301Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.089605Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.088866Z"
}
},
"outputs": [
@@ -765,10 +818,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 16,
+ "execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
@@ -790,14 +843,14 @@
},
{
"cell_type": "code",
- "execution_count": 17,
+ "execution_count": 18,
"id": "640602e7",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.192111Z",
- "iopub.status.busy": "2022-07-23T21:47:15.191035Z",
- "iopub.status.idle": "2022-07-23T21:47:15.195118Z",
- "shell.execute_reply": "2022-07-23T21:47:15.195984Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.098495Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.097518Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.108185Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.106326Z"
}
},
"outputs": [
@@ -821,10 +874,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 17,
+ "execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
@@ -835,14 +888,14 @@
},
{
"cell_type": "code",
- "execution_count": 18,
+ "execution_count": 19,
"id": "0709cf75",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.203240Z",
- "iopub.status.busy": "2022-07-23T21:47:15.201693Z",
- "iopub.status.idle": "2022-07-23T21:47:15.206861Z",
- "shell.execute_reply": "2022-07-23T21:47:15.205967Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.117897Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.117332Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.126185Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.124129Z"
}
},
"outputs": [
@@ -864,10 +917,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 18,
+ "execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
@@ -878,14 +931,14 @@
},
{
"cell_type": "code",
- "execution_count": 19,
+ "execution_count": 20,
"id": "7ef69ab6",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.212958Z",
- "iopub.status.busy": "2022-07-23T21:47:15.211826Z",
- "iopub.status.idle": "2022-07-23T21:47:15.216875Z",
- "shell.execute_reply": "2022-07-23T21:47:15.215909Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.136699Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.136360Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.142355Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.141609Z"
}
},
"outputs": [
@@ -906,10 +959,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 19,
+ "execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
@@ -920,14 +973,14 @@
},
{
"cell_type": "code",
- "execution_count": 20,
+ "execution_count": 21,
"id": "f667ebcd",
"metadata": {
"execution": {
- "iopub.execute_input": "2022-07-23T21:47:15.223853Z",
- "iopub.status.busy": "2022-07-23T21:47:15.221991Z",
- "iopub.status.idle": "2022-07-23T21:47:15.228194Z",
- "shell.execute_reply": "2022-07-23T21:47:15.227225Z"
+ "iopub.execute_input": "2023-01-17T14:58:38.153887Z",
+ "iopub.status.busy": "2023-01-17T14:58:38.153247Z",
+ "iopub.status.idle": "2023-01-17T14:58:38.162831Z",
+ "shell.execute_reply": "2023-01-17T14:58:38.160884Z"
}
},
"outputs": [
@@ -948,10 +1001,10 @@
""
],
"text/plain": [
- ""
+ ""
]
},
- "execution_count": 20,
+ "execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
@@ -985,7 +1038,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.9.1"
+ "version": "3.10.1"
}
},
"nbformat": 4,
diff --git a/docs/api/current.md b/docs/api/current.md
index 7d3f210a..276acdc9 100644
--- a/docs/api/current.md
+++ b/docs/api/current.md
@@ -110,6 +110,16 @@ These attributes are always available in the `current` object.
+
+
+
+
+
+
+
+
+
+
## Decorator-specific attributes
These attributes are only available when the decorator is present.