Aliasing causes repetition
Open
- Dominant language
- Python
- Stars
- 12.3k
- Forks
- 999
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
It would appear as though either aliasing or putting the function / alias in a dataclass causes repetition in the job to be called last; the following code forces `job_2` to run multiple times (not sure what determines how many):
```python
@dataclass
class schedules:
two_hours = schedule.every(2).hours.do
four_hours = schedule.every(4).hours.do
debug = schedule.every(30).minutes.do
s = schedules()
s.two_hours(job_1)
s.two_hours(job_2)
```
What might be causing this issue, and how might I go about fixing it?
Thank you kindly for the help!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.