Skip to content

Commit 3300dd1

Browse files
committed
Remove stray mentions of backend
1 parent 469c501 commit 3300dd1

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/fastcs/attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
self.description = description
4242

4343
# A callback to use when setting the datatype to a different value, for example
44-
# changing the units on an int. This should be implemented in the backend.
44+
# changing the units on an int.
4545
self._update_datatype_callbacks: list[Callable[[DataType[T]], None]] = []
4646

4747
# Name to be filled in by Controller when the Attribute is bound

src/fastcs/controller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ class Controller(BaseController):
179179
"""Top-level controller for a device.
180180
181181
This is the primary class for implementing device support in FastCS. Instances of
182-
this class can be loaded into a backend to access its ``Attribute``s. The backend
183-
can then perform a specific function with the set of ``Attributes``, such as
184-
generating a UI or creating parameters for a control system.
182+
this class can be loaded into a FastCS to expose its ``Attribute``s to the transport
183+
layer, which can then perform a specific function with the set of ``Attributes``,
184+
such as generating a UI or creating parameters for a control system.
185185
"""
186186

187187
root_attribute: Attribute | None = None

src/fastcs/transport/epics/ca/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def record_metadata_from_datatype(
7171
case Waveform():
7272
if len(datatype.shape) != 1:
7373
raise TypeError(
74-
f"Unsupported shape {datatype.shape}, the EPICS backend only "
74+
f"Unsupported shape {datatype.shape}, the EPICS transport only "
7575
"supports to 1D arrays"
7676
)
7777
arguments["length"] = datatype.shape[0]

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def run_ioc_as_subprocess(
150150
if not error_queue.empty():
151151
raise error_queue.get()
152152

153-
# close backend caches before the event loop
153+
# close ca caches before the event loop
154154
purge_channel_caches()
155155

156156
error_queue.close()
@@ -224,7 +224,7 @@ def test_controller(tango_system, register_device):
224224
if time.monotonic() - start_time > timeout:
225225
raise TimeoutError("Controller did not start in time")
226226

227-
# close backend caches before the event loop
227+
# close ca caches before the event loop
228228
purge_channel_caches()
229229

230230
# Stop buffer from getting full and blocking the subprocess

tests/transport/epics/pva/test_p4p.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async def test_scan_method(p4p_subprocess: tuple[str, Queue]):
7171
e_values = asyncio.Queue()
7272

7373
# While the scan method will update every 0.1 seconds, it takes around that
74-
# time for the p4p backends to update, broadcast, get.
74+
# time for the p4p transport to update, broadcast, get.
7575
latency = 1e8
7676

7777
e_monitor = ctxt.monitor(f"{pv_prefix}:Child1:E", e_values.put)

0 commit comments

Comments
 (0)