Skip to content

Commit

Permalink
make func optional for run
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys committed Feb 12, 2024
1 parent 4b7c33b commit 536c26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dosei_sdk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
sys.path.insert(0, "")


def run(func):
def run(func=None):
if func:
return Dosei.call_func(import_from_string(func))
try:
Expand Down

0 comments on commit 536c26a

Please sign in to comment.