utils_background
_prepare_tasks_metadata(*, package_manifest, python_bin, package_root, package_version=None)
¶
Based on the package manifest and additional info, prepare the task list.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
package_manifest |
ManifestV2
|
|
required |
python_bin |
Path
|
|
required |
package_root |
Path
|
|
required |
package_version |
Optional[str]
|
|
None
|
Source code in fractal_server/tasks/v2/utils_background.py
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
|