Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatajagannath committed Sep 19, 2024
1 parent 3767ade commit fef3233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray_provider/decorators/ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def task(
if config is None:
config = {}
elif callable(config):
config = config()
config = config(**kwargs)
elif not isinstance(config, dict):
raise TypeError("config must be either a callable, a dictionary, or None")

Expand Down

0 comments on commit fef3233

Please sign in to comment.