gaps.cli.config.node_kwargs#
- node_kwargs(run_func, config)[source]#
 Compile the function inputs arguments for a particular node.
- Parameters:
 run_func (callable) – A function to run.
config (dict) – Dictionary of node-specific inputs to run_func.
logging_options (dict) – Dictionary of logging options containing at least the following key-value pairs:
- namestr
 Job name; name of log file.
- log_directorypath-like
 Path to log file directory.
- verbosebool
 Option to turn on debug logging.
- nodebool
 Flag for whether this is a node-level logger. If this is a node logger, and the log level is info, the log_file will be None (sent to stdout).
- Returns:
 dict – Function run kwargs to be used on this node.