src/pybel/cli.py
def summarize(manager: Manager):
    """Summarize the contents of the database."""
    click.echo('Networks: {}'.format(manager.count_networks()))
    click.echo('Edges: {}'.format(manager.count_edges()))
    click.echo('Nodes: {}'.format(manager.count_nodes()))
    click.echo('Namespaces: {}'.format(manager.count_namespaces()))
    click.echo('Namespaces entries: {}'.format(manager.count_namespace_entries()))
    click.echo('Annotations: {}'.format(manager.count_annotations()))
    click.echo('Annotation entries: {}'.format(manager.count_annotation_entries()))
Summarize the contents of the database.
Summarize the contents of the database.
Summarize the contents of the database .
def summarize(manager: Manager):
    click.echo('Networks: {}'.format(manager.count_networks()))
    click.echo('Edges: {}'.format(manager.count_edges()))
    click.echo('Nodes: {}'.format(manager.count_nodes()))
    click.echo('Namespaces: {}'.format(manager.count_namespaces()))
    click.echo('Namespaces entries: {}'.format(manager.count_namespace_entries()))
    click.echo('Annotations: {}'.format(manager.count_annotations()))
    click.echo('Annotation entries: {}'.format(manager.count_annotation_entries()))
def summarize ( manager : Manager ) : click . echo ( 'Networks: {}' . format ( manager . count_networks ( ) ) ) click . echo ( 'Edges: {}' . format ( manager . count_edges ( ) ) ) click . echo ( 'Nodes: {}' . format ( manager . count_nodes ( ) ) ) click . echo ( 'Namespaces: {}' . format ( manager . count_namespaces ( ) ) ) click . echo ( 'Namespaces entries: {}' . format ( manager . count_namespace_entries ( ) ) ) click . echo ( 'Annotations: {}' . format ( manager . count_annotations ( ) ) ) click . echo ( 'Annotation entries: {}' . format ( manager . count_annotation_entries ( ) ) )
Summarize the contents of the database.
Summarize the contents of the database .
"""Summarize the contents of the database."""
manager
Manager