Skip to content

Removed is_array_flag#20

Merged
JeanLucPons merged 1 commit into
mainfrom
remove-is-array-flag
Jun 5, 2026
Merged

Removed is_array_flag#20
JeanLucPons merged 1 commit into
mainfrom
remove-is-array-flag

Conversation

@JeanLucPons

Copy link
Copy Markdown
Member

This PR remove the is_array flag.
It is OK for EPICS (tested on BESSY2 VA) however for Tango it requires this

@JeanLucPons JeanLucPons requested a review from gupichon June 5, 2026 09:43
@JeanLucPons JeanLucPons changed the title Removed is_signal flag Removed is_array_flag Jun 5, 2026

@gupichon gupichon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an issue in the get_device method. A separate issue should be open. But it is separate from the current PR, so it's fine.


if isinstance(ref, EpicsConfigR):
return self._attach([ref], ref.index is not None)[0]
return self._attach([ref])[0]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an error, but it's not from this PR. The attach method expects a DeviceAccess, not a config model. An issue should be opened about this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

attach() method expect DeviceAccess but they are deprecated and will be removed.
_attach() internal method well take ConfigModel.

@JeanLucPons JeanLucPons merged commit 8251df2 into main Jun 5, 2026
2 checks passed
@JeanLucPons JeanLucPons deleted the remove-is-array-flag branch June 5, 2026 13:27
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.

2 participants