Skip to content

Commit e7a29c8

Browse files
committed
Specify a defaultfactory type
1 parent a3a664c commit e7a29c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mock_vws/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class VuforiaDatabase:
6767
# ``frozen=True`` while still being able to keep the interface we want.
6868
# In particular, we might want to inspect the ``database`` object's targets
6969
# as they change via API requests.
70-
targets: set[Target] = field(default_factory=set, hash=False)
70+
targets: set[Target] = field(default_factory=set[Target], hash=False)
7171
state: States = States.WORKING
7272

7373
request_quota: int = 100000

0 commit comments

Comments
 (0)