Skip to content

Commit 6c5f4b0

Browse files
committed
removes redundant show_attribute and show_methods check
1 parent b57aa5c commit 6c5f4b0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/microgenerator/generate.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ def process_structure(
320320

321321
all_class_keys.append(key)
322322

323-
# Skip filling details if not needed for the dictionary.
324-
if not show_methods and not show_attributes:
325-
continue
326-
327323
if show_attributes:
328324
results[key]["attributes"] = sorted(class_info["attributes"])
329325

0 commit comments

Comments
 (0)