Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
f1adbe9
First draft of Command classes. WIP
burkeds Oct 21, 2025
a1b5a2f
Merge branch 'main' into command
burkeds Nov 11, 2025
f867bd6
Developing unit tests
burkeds Nov 12, 2025
cf50bc6
fixing datakey
burkeds Nov 12, 2025
e2f2c9f
Core command
burkeds Nov 18, 2025
397c28c
merge
burkeds Nov 18, 2025
c3f6f41
Core commands with syntax fixes. Removed old tango command code
burkeds Nov 18, 2025
5895971
Added test for behaviour when command is called with kwarg ordering d…
burkeds Nov 18, 2025
1f07946
linting
burkeds Nov 18, 2025
c86ac96
removed ... and using pass
burkeds Nov 18, 2025
e4a32c0
Merge branch 'main' into command
burkeds Nov 21, 2025
f963ed7
Merge branch 'main' into command
burkeds Dec 1, 2025
023abb8
Merge branch 'main' into command
burkeds Jan 20, 2026
807ea5e
Merge branch 'command' of https://github.com/bluesky/ophyd-async into…
burkeds Jan 20, 2026
634750b
wip
burkeds Jan 22, 2026
2be1bc6
Improved command with better static typing
burkeds Jan 23, 2026
52e91d3
Telling docs to ignore ParamSpec and TypeVar in _command
burkeds Jan 26, 2026
ae851f0
Merge branch 'main' into command
burkeds Jan 30, 2026
6d49587
removed custom error classes. Added device logging
burkeds Jan 30, 2026
ffef220
shortened source signature
burkeds Jan 30, 2026
c4e22ec
Removed unnecessary factory functions. Removed unused units and preci…
burkeds Jan 30, 2026
4c8dbb8
Refactored SoftCommandBackend to enforce annotations at runtime. This…
burkeds Feb 2, 2026
8f519f6
Merging main
burkeds Feb 2, 2026
83ceac8
Refactored call to triggerable
burkeds Feb 2, 2026
768ab53
Added runtime validation for Array1D and Sequence types
burkeds Feb 2, 2026
1d1c46c
Merge branch 'main' into command
burkeds Feb 4, 2026
5d983a5
Made Command a Generic. Using call again instead of Trigger but __cal…
burkeds Feb 4, 2026
52ceedd
Added _call to avoid AsyncStatus.wrap. Using AsyncStatus.wrap changes…
burkeds Feb 4, 2026
f9bd95c
__call__ now uses the same converters as signal. inspect.signature.bi…
burkeds Feb 5, 2026
c439f02
Moved converter creation to init
burkeds Feb 6, 2026
944deb0
Merge branch 'main' into command
burkeds Feb 6, 2026
8d243d8
AsyncStatus no longer returns a value
burkeds Feb 12, 2026
40605ee
Merge branch 'main' into command
burkeds Feb 12, 2026
8b26da1
In AsyncStatus, the value returned by the awaitable can be accessed u…
burkeds Feb 12, 2026
131dee6
moved _wait_for to _utils for use by command and signal
burkeds Feb 13, 2026
8576376
Moved T_co to _utils. Using P from _utils in Command
burkeds Feb 13, 2026
362c749
Refactored MockCommandBackend to use execute_mock and more closely re…
burkeds Feb 13, 2026
126fc3c
Update src/ophyd_async/core/_command.py
burkeds Feb 13, 2026
4afd859
Merge branch 'command' of https://github.com/bluesky/ophyd-async into…
burkeds Feb 13, 2026
f444830
Telling docs to ignore _utils.T_co
burkeds Feb 13, 2026
035aee6
Refactored Command to use execute instead of __call__
burkeds Feb 13, 2026
8fd3eb9
Removed last_return_value from SoftCommandBackend
burkeds Feb 13, 2026
70c2389
Simplified execute with AsyncStatus.wrap
burkeds Feb 23, 2026
34a5012
merging
burkeds Feb 23, 2026
2288c9c
Added a converter for MockCommandBackend so it can return a value. In…
burkeds Feb 23, 2026
41b9363
Merge branch 'main' into command
burkeds Feb 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions src/ophyd_async/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
"""The building blocks for making devices."""

from ._command import (
Command,
CommandArguments,
CommandBackend,
CommandCallback,
CommandConnector,
CommandError,
CommandR,
CommandReturn,
CommandRW,
CommandW,
CommandX,
ConnectionError,
ConnectionTimeoutError,
ExecutionError,
MockCommandBackend,
SoftCommandBackend,
soft_command_r,
soft_command_rw,
soft_command_w,
soft_command_x,
)
from ._derived_signal import (
DerivedSignalFactory,
derived_signal_r,
Expand Down Expand Up @@ -244,4 +266,25 @@ def __getattr__(name):
"OnOff",
"YesNo",
"TableSubclass",
# Command
"CommandArguments",
"CommandReturn",
"Command",
"CommandBackend",
"CommandCallback",
"CommandConnector",
"CommandR",
"CommandRW",
"CommandW",
"CommandX",
"SoftCommandBackend",
"soft_command_r",
"soft_command_w",
"soft_command_x",
"soft_command_rw",
"CommandError",
"ExecutionError",
"ConnectionError",
"ConnectionTimeoutError",
"MockCommandBackend",
]
Loading
Loading