@@ -413,43 +413,67 @@ Extension points
413
413
The following functions can be provided to main(), to load_tool(), or to the
414
414
executor to override or augment the listed behaviors.
415
415
416
- executor(tool, job_order_object, **kwargs)
417
- (Process, Dict[Text, Any], **Any) -> Tuple[Dict[Text, Any], Text]
416
+ executor
417
+ ::
418
+
419
+ executor(tool, job_order_object, **kwargs)
420
+ (Process, Dict[Text, Any], **Any) -> Tuple[Dict[Text, Any], Text]
418
421
419
422
A toplevel workflow execution loop, should synchronously execute a process
420
423
object and return an output object.
421
424
422
- makeTool(toolpath_object, **kwargs)
423
- (Dict[Text, Any], **Any) -> Process
425
+ makeTool
426
+ ::
427
+
428
+ makeTool(toolpath_object, **kwargs)
429
+ (Dict[Text, Any], **Any) -> Process
424
430
425
431
Construct a Process object from a document.
426
432
427
- selectResources(request)
428
- (Dict[Text, int]) -> Dict[Text, int]
433
+ selectResources
434
+ ::
435
+
436
+ selectResources(request)
437
+ (Dict[Text, int]) -> Dict[Text, int]
429
438
430
439
Take a resource request and turn it into a concrete resource assignment.
431
440
432
- versionfunc()
433
- () -> Text
441
+ versionfunc
442
+ ::
443
+
444
+ ()
445
+ () -> Text
434
446
435
447
Return version string.
436
448
437
- make_fs_access(basedir)
438
- (Text) -> StdFsAccess
449
+ make_fs_access
450
+ ::
451
+
452
+ make_fs_access(basedir)
453
+ (Text) -> StdFsAccess
439
454
440
455
Return a file system access object.
441
456
442
- fetcher_constructor(cache, session)
443
- (Dict[unicode, unicode], requests.sessions.Session) -> Fetcher
457
+ fetcher_constructor
458
+ ::
459
+
460
+ fetcher_constructor(cache, session)
461
+ (Dict[unicode, unicode], requests.sessions.Session) -> Fetcher
444
462
445
463
Construct a Fetcher object with the supplied cache and HTTP session.
446
464
447
- resolver(document_loader, document)
448
- (Loader, Union[Text, dict[Text, Any]]) -> Text
465
+ resolver
466
+ ::
467
+
468
+ resolver(document_loader, document)
469
+ (Loader, Union[Text, dict[Text, Any]]) -> Text
449
470
450
471
Resolve a relative document identifier to an absolute one which can be fetched.
451
472
452
473
logger_handler
453
- logging.Handler
474
+ ::
475
+
476
+ logger_handler
477
+ logging.Handler
454
478
455
479
Handler object for logging.
0 commit comments