-
Notifications
You must be signed in to change notification settings - Fork 1
feat(component): assignment methods (python) #227
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
base: staging/assignments
Are you sure you want to change the base?
Conversation
4843a39 to
b0681e2
Compare
domire8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Dominic Reber <71256590+domire8@users.noreply.github.com>
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Dominic Reber <71256590+domire8@users.noreply.github.com>
domire8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some formatting and one test case that should probably not be expected to throw but otherwise, it looks good!
| """ | ||
| parsed_name = parse_topic_name(name) | ||
| if not parsed_name: | ||
| self.get_logger().error((f"The parsed name for assignment '{name}' is empty. Provide a " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and line 363 look incorrectly formatted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed these two, but fyi Ruff makes extensive changes to the whole thing, so it should probably be done another time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good point, that is because the vscode settings use pylint and autopep and not ruff.. legacy
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/modulo_components/component_interface.py
Outdated
Show resolved
Hide resolved
source/modulo_components/test/python/test_component_interface.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Dominic Reber <71256590+domire8@users.noreply.github.com>
|
Ready to merge, pending a review from @eeberhard |
Description
Introducing assignment methods for python components.
Review guidelines
Estimated Time of Review: 15 minutes
Checklist before merging: