Skip to content

Commit

Permalink
Improve docstring for xtrigger location order specification
Browse files Browse the repository at this point in the history
Co-authored-by: Ronnie Dutta <[email protected]>
  • Loading branch information
ColemanTom and MetRonnie authored Dec 13, 2023
1 parent badcdb1 commit c08996f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cylc/flow/subprocpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ def _killpg(proc, signal):
def get_func(func_name, src_dir):
"""Find and return an xtrigger function from a module of the same name.
Can be in <src_dir>/lib/python, in Python path, or defined via an
entry_point. Loctions checked are in this order.
These locations are checked in this order:
- <src_dir>/lib/python/
- `$CYLC_PYTHONPATH`
- defined via a `cylc.xtriggers` entry point for an
installed Python package.
Workflow source directory passed in as this is executed in an independent
process in the command pool and therefore doesn't know about the workflow.
Expand Down

0 comments on commit c08996f

Please sign in to comment.