Skip to content

Commit

Permalink
Add some discussion on DFK choice
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Oct 9, 2023
1 parent 9036a7e commit d68664e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions parsl/dataflow/futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ def __getitem__(self, key: Any) -> AppFuture:
# hack around circular imports for python_app
from parsl.app.app import python_app

# TODO: it would be nice to avoid redecorating this each time,
# which was done to avoid import loops here -- but the DFK
# is not defined at import time, and so this decoration needs
# to happen at least once per DFK. So perhaps for implementation
# simplicity, this redecoration should always happen, as happens
# for example with the globus data provider.

# TODO: this should be run on the same DFK as is executing the
# task that is associated with this future. That value isn't
# easily available here (although probably the right thing to
Expand Down

0 comments on commit d68664e

Please sign in to comment.