We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78267b9 + a8da3ac commit 0240e86Copy full SHA for 0240e86
ros2topic/ros2topic/eval/__init__.py
@@ -75,6 +75,8 @@ def generic_visit(self, node):
75
if type(node).__name__ in self.model.nodes:
76
77
if isinstance(node, ast.Attribute):
78
+ print(self.model.attributes)
79
+ print(node)
80
if node.attr not in self.model.attributes:
81
raise ValidationException(
82
'Attribute {aname} is not allowed'.format(
ros2topic/ros2topic/verb/hz.py
@@ -117,7 +117,6 @@ def _setup_base_safe_eval():
117
118
def _get_nested_messages(msg_ordereddict):
119
"""List all message field names recursively."""
120
-
121
all_attributes = []
122
for (k, v) in msg_ordereddict.items():
123
all_attributes.append(k)
0 commit comments