Skip to content

Commit

Permalink
Suggest cached_statepoint usage in pre conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Feb 15, 2024
1 parent 2ed0368 commit 7be27f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flow/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,6 +1273,11 @@ def hi_all(*jobs):
are used by :meth:`~.detect_operation_graph` when comparing
conditions for equality. The tag defaults to the bytecode of the
function.
.. tip::
Use ``job.cached_statepoint`` for the best performance in pre conditions
that depend on the job's statepoint.
"""

_parent_class = parent_class
Expand Down

0 comments on commit 7be27f8

Please sign in to comment.