File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 66
77import uuid
88from dataclasses import dataclass , field
9- from typing import Set , TypedDict
9+ from typing import List , Set , TypedDict
1010
1111from mock_vws ._constants import TargetStatuses
1212from mock_vws .states import States
@@ -24,7 +24,7 @@ class DatabaseDict(TypedDict):
2424 client_access_key : str
2525 client_secret_key : str
2626 state_name : str
27- targets : list [TargetDict ]
27+ targets : List [TargetDict ]
2828
2929
3030def _random_hex () -> str :
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ class TargetDict(TypedDict):
2323 A dictionary type which represents a target.
2424 """
2525
26+ # We cannot use the `X | Y` sytanx for `Union`s and `Optional`s until
27+ # https://github.com/sphinx-doc/sphinx/issues/8775 is resolved.
2628 name : str
2729 width : float
2830 image_base64 : str
You can’t perform that action at this time.
0 commit comments