Skip to content

Clean up parameter names with [i] in them #10

Description

@ukBaz

One last question, how do you access the controller_index array?

To get values from such parameters it is necessary to do:

>>> data.cmd_response_frame.__getattribute__('controller_index[i]')
[0]

Which is clearly not practical (or intended). This looks to be introduced because of the automatic generation of the structure from the API documentation which has the parameter name Controller_Index[i]

There are a few others with a similar looking issue and need the [i] removed

Originally posted by @ukBaz in #8 (comment)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions