Skip to content

Commit

Permalink
Make DatabaseDict.targets immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtheturtle committed Sep 28, 2024
1 parent e38d241 commit 0f0cdb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mock_vws/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import uuid
from collections.abc import Iterable
from dataclasses import dataclass, field
from typing import Self, TypedDict

Expand All @@ -25,7 +26,7 @@ class DatabaseDict(TypedDict):
client_access_key: str
client_secret_key: str
state_name: str
targets: list[TargetDict]
targets: Iterable[TargetDict]


@beartype
Expand Down

0 comments on commit 0f0cdb1

Please sign in to comment.