We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d5268 commit 785b2f2Copy full SHA for 785b2f2
src/murfey/util/config.py
@@ -8,10 +8,10 @@
8
9
import yaml
10
from backports.entry_points_selectable import entry_points
11
-from pydantic import BaseModel, BaseSettings
+from pydantic import BaseModel, BaseSettings, Extra
12
13
14
-class MachineConfig(BaseModel):
+class MachineConfig(BaseModel, extra=Extra.allow): # type: ignore
15
acquisition_software: List[str]
16
calibrations: Dict[str, Dict[str, Union[dict, float]]]
17
data_directories: Dict[Path, str]
0 commit comments