File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,13 @@ def _parse_version(self):
62
62
63
63
def parse_graph_node (self , node ):
64
64
# Dynamically parse properties based on the schema
65
+ graph_properties = {}
65
66
for property , specs in self .warnet .node_schema ["properties" ].items ():
66
67
value = node .get (property , specs .get ("default" ))
67
68
if property == "version" :
68
69
self ._parse_version ()
69
70
setattr (self , property , value )
70
- logger . debug ( f" { property } = { value } " )
71
+ graph_properties [ property ] = value
71
72
72
73
if self .version and self .image :
73
74
raise Exception (
@@ -83,7 +84,8 @@ def parse_graph_node(self, node):
83
84
84
85
self .config_dir = self .warnet .config_dir / str (self .suffix )
85
86
self .config_dir .mkdir (parents = True , exist_ok = True )
86
- logger .debug (f"{ self = :} " )
87
+
88
+ logger .debug (f"Parsed graph node: { self .index } with attributes: { [f'{ key } ={ value } ' for key , value in graph_properties .items ()]} " )
87
89
88
90
@classmethod
89
91
def from_graph_node (cls , index , warnet , tank = None ):
You can’t perform that action at this time.
0 commit comments