@@ -113,7 +113,7 @@ def _print_subfolders_sample(self, schema_folder, control_option, indent_level,
113
113
114
114
folder_info = _get_properties (schema_folder )
115
115
folder_map = dict ()
116
- multi_folders = []
116
+ object_array_keys = []
117
117
118
118
for key in folder_info :
119
119
property_map = folder_info [key ]
@@ -124,7 +124,7 @@ def _print_subfolders_sample(self, schema_folder, control_option, indent_level,
124
124
125
125
elif wko_schema_helper .is_object_array (property_map ):
126
126
folder_map [key ] = wko_schema_helper .get_array_item_info (property_map )
127
- multi_folders .append (key )
127
+ object_array_keys .append (key )
128
128
129
129
folder_keys = list (folder_map .keys ())
130
130
folder_keys .sort ()
@@ -143,7 +143,7 @@ def _print_subfolders_sample(self, schema_folder, control_option, indent_level,
143
143
next_path = path + "/" + key
144
144
if control_option == ControlOptions .RECURSIVE :
145
145
# Call this method recursively
146
- child_in_object_array = key in multi_folders
146
+ child_in_object_array = key in object_array_keys
147
147
self ._print_subfolders_sample (folder_info , control_option , child_level , path ,
148
148
child_in_object_array )
149
149
else :
@@ -213,7 +213,7 @@ def _get_properties(schema_folder):
213
213
214
214
def _get_folder_names (schema_properties ):
215
215
"""
216
- Return the folder names (single and multiple ) described by the schema properties.
216
+ Return the object keys (single or array ) described by the schema properties.
217
217
:param schema_properties: the properties to be examined
218
218
:return: a list of folder names
219
219
"""
0 commit comments