Skip to content

Commit

Permalink
fix: types from cron() method
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 3, 2024
1 parent a38472f commit 2b8d2ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/appier/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ class App:
asynchronous: bool = ...,
**kwargs
) -> str: ...
def cron(self, job: JobFunction, cron: Cron) -> SchedulerTask: ...
def cron(
self,
job: JobFunction,
cron: Cron,
id: str | None = ...,
description: str | None = ...,
) -> SchedulerTask: ...
def is_loaded(self) -> bool: ...
def is_parent(self) -> bool: ...
def is_child(self) -> bool: ...
Expand Down

0 comments on commit 2b8d2ce

Please sign in to comment.