Skip to content

Commit

Permalink
Try using non-default-value keyword argument syntax for parsl_resourc…
Browse files Browse the repository at this point in the history
…e_specification

This makes parsl_resource_specificiation mandatory rather than defaulting to {}

It might be better to allow this to befault to None, so that users can still omit it
if they want to not specify anything...
  • Loading branch information
benclifford committed Oct 29, 2023
1 parent e7a50e4 commit 364333f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/benchmark/perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def load_dfk_from_config(filename):


@parsl.python_app
def app(parsl_resource_specification={}):
def app(*, parsl_resource_specification):
return 7


Expand Down

0 comments on commit 364333f

Please sign in to comment.