Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Help interpreting the outputs #37

Closed
beejaya opened this issue Jul 30, 2022 · 1 comment
Closed

Help interpreting the outputs #37

beejaya opened this issue Jul 30, 2022 · 1 comment

Comments

@beejaya
Copy link

beejaya commented Jul 30, 2022

Are there some examples that help explain the output produced by PyCG? My question is specifically about the two possible outputs from PyCG:
(1) --as-graph-output AS_GRAPH_OUTPUT
Output for the assignment graph
(2) -o OUTPUT, --output OUTPUT
Output path

What is the difference between these two? It would be great if there an example input with these two outputs along with an explanation on interpreting them.

@vitsalis
Copy link
Owner

vitsalis commented Nov 2, 2022

The --as-graph-output outputs the assignment graph, an intermediate graph used by PyCG to produce the final graph. On the other hand, the --output flag is used to output the call graph.

@vitsalis vitsalis closed this as completed Nov 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants