@@ -19,16 +19,17 @@ class LaunchParameters:
1919 project_id : str
2020 # A symbolic name of the Instance
2121 name : str
22- # The user name of the person launching the Instance (Workflow step)
22+ # The user name of the person launching the Instance
2323 launching_user_name : str
2424 # The API Access token provided by the User
2525 launching_user_api_token : str
2626 # The specification, which can contain 'variables'
2727 specification : dict [str , Any ]
28- # An alternative way to pass variables to the specification.
29- # If used it will replace any 'variables' already present in the specification.
28+ # The 'preferred' way to provide variables for the Job's specification.
29+ # If used it will replace any 'variables' already present in the specification
30+ # (values are no merged).
3031 variables : dict [str , Any ] | None = None
31- # A string. In DM v4 converted to a boolean and set in the
32+ # A string. In DM v4, if any value is set a corresponding boolean is set in the
3233 # instance Pod as a label. Setting this means the Instances
3334 # that are created will not be automatically removed by the Job operator.
3435 debug : str | None = None
@@ -39,19 +40,24 @@ class LaunchParameters:
3940 # Required if the Instance is part of a Workflow step.
4041 step_name : str | None = None
4142 # The step replication number.
42- # If only one instance of the step is expected to run
43- # this value can be left at 0 (zero). If this step's launch
44- # is expected to be executed more than once the value should be
45- # 1..'N'.
43+ # A numeric vale expected to be in the range 0 to total_number_of_replicas - 1.
44+ # If a step is laucnhed 5 times the values used when laucnhing each instance
45+ # must be 0, 1, 2, 3, and 4.
4646 step_replication_number : int = 0
4747 # The total number of replicas of this instance that are expected to be laucnhed.
4848 # This cannot be less than 1 and must be grater than any value of
49- # 'step_replication_number' that will be used fo rthe same step.
49+ # 'step_replication_number' that will be used for the same step.
5050 total_number_of_replicas : int = 1
51- # A set of dependent (prior step) instances that are expected to be hard-linked
52- # into the instance directory the launcher will create. These are required
53- # so that the step can access the dependent step's files.
54- dependent_instances : set [str ] | None = None
51+ # A set of dependent (prior step) instance directroies that are expected to be
52+ # hard-linked into the instance directory the launcher will create.
53+ # These are required so that the step can access the dependent step's files.
54+ # It is a set of instance UUIDs.
55+ step_dependent_instances : set [str ] | None = None
56+ # A set of dependent project files that are expected to be hard-linked
57+ # into the instance directory the launcher will create.
58+ # These are required so that the step can access project files.
59+ # It is a set project-relative filenames (or directroies).
60+ step_project_inputs : set [str ] | None = None
5561 # The application ID (a custom resource name)
5662 # used to identify the 'type' of Instance to create.
5763 # For DM Jobs this will be 'datamanagerjobs.squonk.it'
0 commit comments