Skip to content

Commit

Permalink
ContextUpdater's get_message_contexts method argument should be removed
Browse files Browse the repository at this point in the history
Signed-off-by: ISP akm <[email protected]>
  • Loading branch information
xygyo77 committed Sep 25, 2024
1 parent 7fd9003 commit ada86f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/caret_analyze/architecture/architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def update_message_context(self, node_name: str, context_type: str,
node.update_node_path(
NodeValuesLoaded._search_node_paths(
node,
context_updater.get_message_contexts(node),
context_updater.get_message_contexts(),
self._max_callback_construction_order_on_path_searching)
)

Expand Down Expand Up @@ -428,7 +428,7 @@ def insert_publisher_callback(self, node_name: str,
node.update_node_path(
NodeValuesLoaded._search_node_paths(
node,
ContextUpdater(node).get_message_contexts(node),
ContextUpdater(node).get_message_contexts(),
self._max_callback_construction_order_on_path_searching)
)

Expand All @@ -454,7 +454,7 @@ def insert_variable_passing(self, node_name: str,
node.update_node_path(
NodeValuesLoaded._search_node_paths(
node,
ContextUpdater(node).get_message_contexts(node),
ContextUpdater(node).get_message_contexts(),
self._max_callback_construction_order_on_path_searching)
)

Expand Down Expand Up @@ -484,7 +484,7 @@ def remove_publisher_callback(self, node_name: str,
node.update_node_path(
NodeValuesLoaded._search_node_paths(
node,
ContextUpdater(node).get_message_contexts(node),
ContextUpdater(node).get_message_contexts(),
self._max_callback_construction_order_on_path_searching)
)

Expand Down Expand Up @@ -524,7 +524,7 @@ def remove_variable_passing(self, node_name: str,
node.update_node_path(
NodeValuesLoaded._search_node_paths(
node,
context_updater.get_message_contexts(node),
context_updater.get_message_contexts(),
self._max_callback_construction_order_on_path_searching)
)

Expand Down Expand Up @@ -762,7 +762,7 @@ def remove_callback_chain(
'callback_chain')
]

def get_message_contexts(self, _) -> Sequence[dict]:
def get_message_contexts(self) -> Sequence[dict]:
return self._contexts


Expand Down

0 comments on commit ada86f2

Please sign in to comment.