fix: locations of some imports

This commit is contained in:
2026-08-07 10:51:38 +02:00
committed by perl_d
parent ea09c8c719
commit e995b5b5ae
+2 -2
View File
@@ -1,6 +1,6 @@
import os
from pathlib import Path
from typing import Any, Dict
from typing import Any
import yaml
@@ -12,7 +12,7 @@ class BeamlineYAMLConfig:
self.beamline: MXBeamline = mx_beamline()
self.config = self._load_config()
def _load_config(self) -> Dict[str, Any]:
def _load_config(self) -> dict[str, Any]:
config_dir = Path(__file__).parent / "beamline_configs"
yaml_file = config_dir / f"{self.beamline.value.lower()}.yaml"