-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deprecate ScheduleComponent class Deprecate the ScheduleComponent class and remove it as the base class of Schedule and Instruction. Anywhere that currently accepts a ScheduleComponent should instead accept a Union[Schedule, Instruction]. Propagate the docstrings for the removed properties to Instruction and the Schedule classes themselves. Use Schedule and Instruction type forwardRef of the classes in the typed arguments * deprecate channels argument in ch_start_time method of Instruction Fixes #5076 * Add ScheduleComponent deprecation release note * Fix forward references. * Linting. * Remove warning causing docs to fail. * remove trailing whitespace. * Remove schedule type annotations in instruction. * Update Instruction type hint. * Linting Co-authored-by: Thomas Alexander <thomas.a.alexander@ibm.com> Co-authored-by: Thomas Alexander <thomasalexander2718@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
8c40b02
commit f0b47e2
Showing
7 changed files
with
170 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.