Skip to content

Raise exception if attr name is a bluesky protocol#1028

Open
shihab-dls wants to merge 4 commits into
mainfrom
1010_raise_error_if_protocol
Open

Raise exception if attr name is a bluesky protocol#1028
shihab-dls wants to merge 4 commits into
mainfrom
1010_raise_error_if_protocol

Conversation

@shihab-dls

Copy link
Copy Markdown
Contributor

fixes #1010

This PR collects the abstract methods from bluesky, and raises an exception if a Device attr name is set to any of these.

Comment thread src/ophyd_async/core/_device.py Outdated
Comment thread src/ophyd_async/core/_device.py Outdated
@coretl

coretl commented Sep 1, 2025

Copy link
Copy Markdown
Collaborator

The PVI and Tango device fillers also need to be updated to put a trailing underscore in if the name is one of DEVICE_RESERVED_ATTRS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Raise warning when device includes a stop signal

2 participants