The code or schedule had a better example than the doc.
Merge pull request #10043 from dangarthwaite/scheduler-doc-state-args-kwargs

The code or schedule had a better example than the doc.