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

Modifies the use of __slots__ for get_fields_and_field_types method #854

Closed

Conversation

Voldivh
Copy link

@Voldivh Voldivh commented Apr 5, 2023

Public API Changes

None

Description

The attribute __slots__ from a message represents all the attributes from the python class for that message, not only the field names of each component from the message structure. So far, this shouldn't impose any issue, however, taking into account the upcoming modifications from this PR in the rosidl_python package, the current use of the attribute in the rosapi/objectutils.py file would be affected and therefore, break something.

This PR solves that issue by modifying the use of __slots__ for the appropriate method to retrieve the field names and types get_fields_and_field_types().

@achim-k
Copy link
Contributor

achim-k commented Sep 26, 2023

@Voldivh is this PR still relevant? Tests currently do not fail for rolling / iron but maybe none of the existing tests covers that change. Would you mind rebasing such that all CI tests are run again?

Copy link

This PR has been marked as stale because there has been no activity in the past 6 months. Please add a comment to keep it open.

@github-actions github-actions bot added the stale label Mar 26, 2024
@github-actions github-actions bot closed this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants