Skip to content

Commit 56a74f1

Browse files
committed
Fixup additional device_factory annotations
1 parent 7f0ba64 commit 56a74f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dodal/beamlines/i03.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def collimation_table() -> CollimationTable:
453453
return CollimationTable(prefix=f"{PREFIX.beamline_prefix}-MO-TABLE-01")
454454

455455

456-
@device_factory()
456+
@devices.factory()
457457
def beamsize() -> Beamsize:
458458
"""Get the i03 beamsize device, instantiate it if it hasn't already been.
459459
If this is called when already instantiated in i03, it will return the existing object.
@@ -463,7 +463,7 @@ def beamsize() -> Beamsize:
463463
)
464464

465465

466-
@device_factory()
466+
@devices.factory()
467467
def ipin() -> IPin:
468468
"""Get the i03 ipin device, instantiate it if it hasn't already been.
469469
If this is called when already instantiated in i04, it will return the existing object.

0 commit comments

Comments
 (0)