We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0222002 commit 3d41b62Copy full SHA for 3d41b62
1 file changed
src/dodal/devices/undulator.py
@@ -3,8 +3,10 @@
3
4
import numpy as np
5
from bluesky.protocols import Locatable, Location, Movable
6
-from daq_config_server.client import ConfigServer
7
-from daq_config_server.models import UndulatorEnergyGapLookupTable
+from daq_config_server import ConfigClient
+from daq_config_server.models.lookup_tables.insertion_device import (
8
+ UndulatorEnergyGapLookupTable,
9
+)
10
from numpy import ndarray
11
from ophyd_async.core import (
12
AsyncStatus,
@@ -173,7 +175,7 @@ class UndulatorInKeV(BaseUndulator):
173
175
def __init__(
174
176
self,
177
prefix: str,
- config_client: ConfigServer,
178
+ config_client: ConfigClient,
179
id_gap_lookup_table_path: str = os.devnull,
180
poles: int | None = None,
181
length: float | None = None,
0 commit comments