@@ -127,14 +127,12 @@ def inspect_class_type(
127127 domain_relations : List [UmlRelation ]
128128):
129129 uml_class = handle_class_type (class_type , class_type_fqn , domain_items_by_fqn )
130- attributes = inspect_static_attributes (
130+ inspect_static_attributes (
131131 class_type_fqn , uml_class .attributes , class_type , root_module_name , domain_relations
132132 )
133- inspect_methods (
134- uml_class .methods , class_type
135- )
133+ inspect_methods (uml_class .methods , class_type )
136134 instance_attributes , compositions = parse_class_constructor (class_type , class_type_fqn , root_module_name )
137- attributes .extend (instance_attributes )
135+ uml_class . attributes .extend (instance_attributes )
138136 domain_relations .extend (compositions .values ())
139137
140138 handle_inheritance_relation (class_type , class_type_fqn , root_module_name , domain_relations )
@@ -147,13 +145,11 @@ def inspect_dataclass_type(
147145 domain_relations : List [UmlRelation ]
148146):
149147 uml_class = handle_class_type (class_type , class_type_fqn , domain_items_by_fqn )
150- attributes = inspect_static_attributes (
148+ inspect_static_attributes (
151149 class_type_fqn , uml_class .attributes , class_type , root_module_name , domain_relations
152150 )
153- inspect_methods (
154- uml_class .methods , class_type
155- )
156- for attribute in attributes :
151+ inspect_methods (uml_class .methods , class_type )
152+ for attribute in uml_class .attributes :
157153 attribute .static = False
158154
159- handle_inheritance_relation (class_type , class_type_fqn , root_module_name , domain_relations )
155+ handle_inheritance_relation (class_type , class_type_fqn , root_module_name , domain_relations )
0 commit comments