Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
raulikak committed Jun 7, 2024
1 parent aea5222 commit b24a76c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tcsfw/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,6 @@ def set_external_activity(self, value: ExternalActivity) -> Self:
c.external_activity = value
return self

def merge_in(self, entity: 'NetworkNode', mappings: Dict['NetworkNode', 'NetworkNode']) -> Self:
"""Merge an another entity here, return mapping to replace entities"""
mappings[entity] = self
c_map = {c.name: c for c in self.children}
for c in entity.children:
self_c = c_map.get(c.name)
if self_c:
self_c.merge_in(c, mappings)
else:
c.parent = self
self.children.append(c)
return self

def create_service(self, address: EndpointAddress) -> 'Service':
"""Create a child service"""
raise NotImplementedError()
Expand Down

0 comments on commit b24a76c

Please sign in to comment.