File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -391,12 +391,15 @@ def create_resource_based(
391391 @staticmethod
392392 def create_fixed (
393393 * ,
394- workflow_slots : Optional [int ],
395- activity_slots : Optional [int ],
396- local_activity_slots : Optional [int ],
397- nexus_slots : Optional [int ],
394+ workflow_slots : Optional [int ] = None ,
395+ activity_slots : Optional [int ] = None ,
396+ local_activity_slots : Optional [int ] = None ,
397+ nexus_slots : Optional [int ] = None ,
398398 ) -> WorkerTuner :
399- """Create a fixed-size tuner with the provided number of slots. Any unspecified slots will default to 100."""
399+ """Create a fixed-size tuner with the provided number of slots.
400+
401+ Any unspecified slot numbers will default to 100.
402+ """
400403 return _CompositeTuner (
401404 FixedSizeSlotSupplier (workflow_slots if workflow_slots else 100 ),
402405 FixedSizeSlotSupplier (activity_slots if activity_slots else 100 ),
You can’t perform that action at this time.
0 commit comments