Skip to content

Commit

Permalink
Missing parens.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielshaar committed Sep 4, 2024
1 parent 5c24874 commit 14c06bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def from_args(
if info.raw_f:
raw_f = info.raw_f
assert callable(raw_f)
if schedule is not None and not info.is_nullary:
if schedule is not None and not info.is_nullary():
raise InvalidError(
f"Function {raw_f} has a schedule, so it needs to support being called with no arguments"
)
Expand Down

0 comments on commit 14c06bc

Please sign in to comment.