Skip to content

Commit

Permalink
Use () rather than [] for block IDs at scale-in: this can be any sequ…
Browse files Browse the repository at this point in the history
…ence
  • Loading branch information
benclifford committed Oct 29, 2023
1 parent 1771bd3 commit e7a50e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/executors/high_throughput/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def create_monitoring_info(self, status):
def workers_per_node(self) -> Union[int, float]:
return self._workers_per_node

def scale_in(self, blocks=None, block_ids=[], force=True, max_idletime=None):
def scale_in(self, blocks=None, block_ids=(), force=True, max_idletime=None):
"""Scale in the number of active blocks by specified amount.
The scale in method here is very rude. It doesn't give the workers
Expand Down

0 comments on commit e7a50e4

Please sign in to comment.