-
Notifications
You must be signed in to change notification settings - Fork 44
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
Erroneous mypy specifications #70
Labels
bug
Something isn't working
Comments
artivis
added a commit
to artivis/rosidl_python
that referenced
this issue
Jul 17, 2019
Fix ros2#70. Signed-off-by: artivis <jeremie.deray@canonical.com>
I would guess the annotation is just wrong. This is how it is being used: rosidl_python/rosidl_runtime_py/rosidl_runtime_py/set_message.py Lines 52 to 53 in 6ec55cb
Maybe @mikaelarguedas can comment since he wrote this in #33. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit:
I've been using
import_message_from_namespaced_type
wrong due to misleading erroneous mypy specificationsLeaving this issue open until the specification get fixed.
Original:
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
Imports a
std_msgs/msg/Bool
Actual behavior
Crash
Additional information
Crash comes from
import_message_from_namespaced_type
which expects aNamespacedType
for input arg.NamespacedType
expects as input argsIterable[str], str
.NamespacedType
has baseAbstractNestableType
whereas the '__slots__
'value_type
comes fromAbstractNestedType
. Am I missing something or is it a bug ?The text was updated successfully, but these errors were encountered: