Skip to content

Commit

Permalink
improve type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-k committed Jul 17, 2024
1 parent c2d56b7 commit 982c843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibolab/pulses/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

from collections import defaultdict

from .pulse import Delay, PulseType
from .pulse import Delay, PulseLike, PulseType


class PulseSequence(defaultdict):
class PulseSequence(defaultdict[str, list[PulseLike]]):
"""Synchronized sequence of control instructions across multiple channels.
The keys are names of channels, and the values are lists of pulses
Expand Down

0 comments on commit 982c843

Please sign in to comment.