Skip to content

Commit 45ed4ef

Browse files
author
Codegen Bot
committed
Fix remaining parameter shadowing issues in api.py
1 parent f99fa22 commit 45ed4ef

File tree

1 file changed

+3
-3
lines changed
  • codegen-on-oss/codegen_on_oss/analyzers

1 file changed

+3
-3
lines changed

codegen-on-oss/codegen_on_oss/analyzers/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def get_module_dependencies(
214214
)
215215

216216
# Export if needed
217-
if format != "json":
217+
if output_format != "json":
218218
return self.visualizer.export(viz, format=output_format)
219219

220220
return viz
@@ -287,7 +287,7 @@ def get_function_call_graph(
287287
)
288288

289289
# Export if needed
290-
if format != "json":
290+
if output_format != "json":
291291
return self.visualizer.export(viz, format=output_format)
292292

293293
return viz
@@ -360,7 +360,7 @@ def get_pr_impact(
360360
)
361361

362362
# Export if needed
363-
if format != "json":
363+
if output_format != "json":
364364
return self.visualizer.export(viz, format=output_format)
365365

366366
return viz

0 commit comments

Comments
 (0)