Coroutines

Coroutines containing the apps business logic.

A diagram showing all the interactions between these coroutines is available in the Driver documentation.

Data Sources

Coroutines for converting from source data to internal data.

Get all wanted links in comments.

stack_exchange_graph_data.coroutines.data_sources.get_post_links(link_target: Generator, node_target: Generator) → Generator

Get all wanted data from posts.

Gets all http links, and includes links from the parent post (question) to child posts (answer).

Includes all questions and answers in node output.

stack_exchange_graph_data.coroutines.data_sources.load_comments(site_name: str, target: Generator) → Generator

Read comments from external format into internal format.

stack_exchange_graph_data.coroutines.data_sources.load_posts(target: Generator) → Generator

Read posts from external format into internal format.

Nodes

Node control flow coroutines.

stack_exchange_graph_data.coroutines.nodes.handle_nodes(target: Generator) → Generator

Send all posts to the output, with information about the top 36 tags.