Skip to content

Commit

Permalink
Remove creating uml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ameharoo committed Aug 26, 2024
1 parent 54d1822 commit 3ec584e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions message_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ def __init__(self):
self.defined_messages = {}
self.sorted_messages = []

self._uml = open("test.uml1", "w")

def register(self, message: messages_base.Message):
assert(not message.name[0].isnumeric())

Expand Down Expand Up @@ -117,10 +115,3 @@ def resolve_dependencies(self):

self.make_fields_init(msg)

self._uml.write("@startuml\n")
for parent, msg in self.defined_messages.items():
parent_name = parent.replace('<', '\\<').replace('>', '\\>')
for child in msg.fields:
child_name = child.message_name.replace('<', '_').replace('>', '_')
self._uml.write(f"{child_name} <|-- {parent_name}\n")
self._uml.write("@enduml\n")

0 comments on commit 3ec584e

Please sign in to comment.