Skip to content

Commit

Permalink
Add ignore_for_cache docstring to decorators. Fixes #2875
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Sep 14, 2023
1 parent 465eb43 commit aae9a9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions parsl/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self, func, data_flow_kernel=None, executors='all', cache=False, ig
after calling :meth:`parsl.dataflow.dflow.DataFlowKernelLoader.load`.
- executors (str|list) : Labels of the executors that this app can execute over. Default is 'all'.
- cache (Bool) : Enable caching of this app ?
- ignore_for_cache (list|None): Names of arguments which will be ignored by the caching mechanism.
Returns:
- App object.
Expand Down Expand Up @@ -90,6 +91,8 @@ def python_app(function=None,
Labels of the executors that this app can execute over. Default is 'all'.
cache : bool
Enable caching of the app call. Default is False.
ignore_for_cache : (list|None)
Names of arguments which will be ignored by the caching mechanism.
"""
from parsl.app.python import PythonApp

Expand Down Expand Up @@ -126,6 +129,8 @@ def join_app(function=None,
be omitted only after calling :meth:`parsl.dataflow.dflow.DataFlowKernelLoader.load`. Default is None.
cache : bool
Enable caching of the app call. Default is False.
ignore_for_cache : (list|None)
Names of arguments which will be ignored by the caching mechanism.
"""
from parsl.app.python import PythonApp

Expand Down Expand Up @@ -167,6 +172,8 @@ def bash_app(function=None,
Labels of the executors that this app can execute over. Default is 'all'.
cache : bool
Enable caching of the app call. Default is False.
ignore_for_cache : (list|None)
Names of arguments which will be ignored by the caching mechanism.
"""
from parsl.app.bash import BashApp

Expand Down

0 comments on commit aae9a9d

Please sign in to comment.