diff --git a/bluesky/stack/cmdparser.py b/bluesky/stack/cmdparser.py index 74fd8a0368..7adab21974 100644 --- a/bluesky/stack/cmdparser.py +++ b/bluesky/stack/cmdparser.py @@ -1,6 +1,7 @@ ''' Stack Command implementation. ''' import inspect import sys, os +from typing import Dict from bluesky.stack.argparser import Parameter, getnextarg, ArgumentError @@ -8,7 +9,7 @@ class Command: ''' Stack command object. ''' # Dictionary with all command objects - cmddict: dict[str, 'Command'] = dict() + cmddict: Dict[str, 'Command'] = dict() @classmethod def addcommand(cls, func, parent=None, name='', **kwargs):