We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c647b4 + e37989f commit e0c0bffCopy full SHA for e0c0bff
1 file changed
src/qcodes/dataset/measurement_extensions.py
@@ -1,7 +1,7 @@
1
from __future__ import annotations
2
3
import time
4
-from collections.abc import Generator, Sequence
+from collections.abc import Generator, Mapping, Sequence
5
from contextlib import ExitStack, contextmanager
6
from dataclasses import dataclass
7
from typing import TYPE_CHECKING, Any
@@ -37,7 +37,7 @@ class DataSetDefinition:
37
experiment: Experiment | None = None
38
"""An optional argument specifying which Experiment this dataset should be
39
written to"""
40
- metadata: dict[str, Any] | None = None
+ metadata: Mapping[str, Any] | None = None
41
"""An optional dictionary of metadata that will be added to the dataset
42
generated by this definition"""
43
0 commit comments