Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch the __repr__() when job_func is None (Fix #485) #569

Merged
merged 3 commits into from Apr 9, 2023
Merged

Patch the __repr__() when job_func is None (Fix #485) #569

merged 3 commits into from Apr 9, 2023

Conversation

CPickens42
Copy link
Contributor

Hello,

When using a Factory design pattern for the class schedule.Job, I encountered the same error present in the issue #485.
For debug purposes, it is quite convenient to have this patch. Otherwise, schedule is hard to use in Jupyter Notebook.

The patch is really simple. I can change the default value [None] by something else.

Kind regards,

@coveralls
Copy link

Coverage Status

Coverage: 99.713% (+0.002%) from 99.711% when pulling 6ca4e32 on CPickens42:master into a3ecd35 on dbader:master.

@SijmenHuizenga SijmenHuizenga merged commit 3863eff into dbader:master Apr 9, 2023
15 checks passed
@SijmenHuizenga
Copy link
Collaborator

Thanks a lot for submitting this pr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants