Skip to content

Commit 9099cc6

Browse files
Update smartsim/_core/schemas/utils.py
Co-authored-by: Matt Drozt <[email protected]>
1 parent 62328f7 commit 9099cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smartsim/_core/schemas/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def from_str(
6464

6565
class SchemaRegistry(t.Generic[_SchemaT]):
6666
def __init__(
67-
self, init_map: t.Optional[Mapping[str, type[_SchemaT]]] = None
67+
self, init_map: Mapping[str, type[_SchemaT]] | None = None
6868
) -> None:
6969
self._map = dict(init_map) if init_map else {}
7070

0 commit comments

Comments
 (0)