Skip to content

Commit f99fa22

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

File tree

1 file changed

+11
-9
lines changed
  • codegen-on-oss/codegen_on_oss/analyzers

1 file changed

+11
-9
lines changed

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def get_module_dependencies(
197197
Args:
198198
module_path: Path to the module to analyze
199199
layout: Layout algorithm to use
200-
format: Output format
200+
output_format: Output format
201201
202202
Returns:
203203
Module dependency visualization
@@ -233,7 +233,7 @@ def generate_dependency_graph(
233233
repo_path: Path to the repository (optional, uses self.repo_path if not provided)
234234
module_path: Path to the specific module to analyze (optional)
235235
layout: Graph layout algorithm (hierarchical, force, circular)
236-
output_format: Output format (json, dot, graphml)
236+
output_output_format: Output format (json, dot, graphml)
237237
238238
Returns:
239239
Dictionary containing the dependency graph data
@@ -269,7 +269,7 @@ def get_function_call_graph(
269269
function_name: Name of the function(s) to analyze
270270
depth: Maximum depth of the call graph
271271
layout: Layout algorithm to use
272-
format: Output format
272+
output_format: Output format
273273
274274
Returns:
275275
Function call graph visualization
@@ -308,7 +308,7 @@ def generate_call_graph(
308308
file_path: Path to the file containing the function
309309
depth: Maximum depth of the call graph
310310
layout: Graph layout algorithm (hierarchical, force, circular)
311-
output_format: Output format (json, dot, graphml)
311+
output_output_format: Output format (json, dot, graphml)
312312
313313
Returns:
314314
Dictionary containing the call graph data
@@ -343,7 +343,7 @@ def get_pr_impact(
343343
Args:
344344
pr_number: PR number to analyze
345345
layout: Layout algorithm to use
346-
format: Output format
346+
output_format: Output format
347347
348348
Returns:
349349
PR impact visualization
@@ -376,13 +376,15 @@ def export_visualization(
376376
377377
Args:
378378
visualization: Visualization to export
379-
format: Output format
379+
output_format: Output format
380380
filename: Output filename
381381
382382
Returns:
383383
Exported visualization or path to saved file
384384
"""
385-
return self.visualizer.export(visualization, format=output_format, filename=filename)
385+
return self.visualizer.export(
386+
visualization, format=output_format, filename=filename
387+
)
386388

387389
def get_static_errors(self) -> list[dict[str, Any]]:
388390
"""
@@ -560,7 +562,7 @@ def generate_class_diagram(
560562
module_name: Name of the module containing the class (optional)
561563
include_methods: Whether to include methods in the diagram
562564
include_attributes: Whether to include attributes in the diagram
563-
output_format: Output format (json, dot, graphml, plantuml)
565+
output_output_format: Output format (json, dot, graphml, plantuml)
564566
565567
Returns:
566568
Dictionary containing the class diagram data
@@ -598,7 +600,7 @@ def generate_sequence_diagram(
598600
function_name: Name of the function to analyze
599601
file_path: Path to the file containing the function (optional)
600602
max_depth: Maximum depth of the sequence diagram
601-
output_format: Output format (json, plantuml)
603+
output_output_format: Output format (json, plantuml)
602604
603605
Returns:
604606
Dictionary containing the sequence diagram data

0 commit comments

Comments
 (0)