You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some cases where the 2023-09 specification specifies an optional list but does not specify that if specified that the list must contain at least one element. This should be the case for all optional lists for consistency.
Similarly, there are some cases where the 2023-09 specification specifies that a list must contain at least one elements if present, but the list is not optional. In these cases, either the wording should be changed or the list should be made optional, depending on the original intention.
Description
There are some cases where the 2023-09 specification specifies an optional list but does not specify that if specified that the list must contain at least one element. This should be the case for all optional lists for consistency.
Similarly, there are some cases where the 2023-09 specification specifies that a list must contain at least one elements if present, but the list is not optional. In these cases, either the wording should be changed or the list should be made optional, depending on the original intention.
List of occurrences:
taskParameterDefinitions
) - In this case, the field is not optional in the Python implementation of the model and does indeed have a minimum length of1
, so the wording should be changed to remove the "If provided, then"jobEnvironments
) - Optional list that does not explicitly disallow empty lists if a list is providedargs
) - Optional list that does not explicitly disallow empty lists if a list is providedammounts
,attributes
) - Optional list that does not explicitly disallow empty lists if a list is providedallowedValues
) - Optional list that does not explicitly disallow empty lists if a list is providedallowedValues
,fileFilters
) - Optional list that does not explicitly disallow empty lists if a list is providedallowedValues
) - Optional list that does not explicitly disallow empty lists if a list is providedallowedValues
) - Optional list that does not explicitly disallow empty lists if a list is providedsteps
) - steps should also never be empty.The text was updated successfully, but these errors were encountered: