Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameters property to BindingsArray #12436

Open
chriseclectic opened this issue May 17, 2024 · 1 comment · May be fixed by #12461
Open

Add parameters property to BindingsArray #12436

chriseclectic opened this issue May 17, 2024 · 1 comment · May be fixed by #12461
Labels
mod: primitives Related to the Primitives module type: feature request New feature or request

Comments

@chriseclectic
Copy link
Member

What should we add?

Bindings array has no easy way to get an ordered list of parameters it contains. It would be nice to have a property method BindingsArray.parameters that returns the ordered list of parameter values correpsonding to the array order returned by BindingsArray.as_array when no parameters kwarg is provided. Eg ba.as_array() == ba.as_array(ba.parameters)

@chriseclectic chriseclectic added type: feature request New feature or request mod: primitives Related to the Primitives module labels May 17, 2024
@shraddha-aangiras
Copy link

Hello, could you please check my PR on this issue and let me know if this is the right way to implement it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: primitives Related to the Primitives module type: feature request New feature or request
Projects
None yet
2 participants