Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Feb 17, 2024
1 parent da8fbc2 commit 80f6f46
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions listenbrainz/db/dump_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,17 @@ def create_mbcanonical(location, use_lb_conn):
help="the number of threads to be used while compression")
@click.option('--dump-id', type=int, default=None,
help="the ID of the ListenBrainz data dump")
@click.option('--listen/--no-listen', 'do_listen_dump', default=True, help=" If True, make a listens dump")
@click.option('--spark/--no-spark', 'do_spark_dump', type=bool, default=True,help = 'If True, make a spark listens dump')
@click.option('--db/--no-db', 'do_db_dump', type=bool, default=True,help = "If True, make a public/private postgres dump")
@click.option('--timescale/--no-timescale', 'do_timescale_dump', type=bool, default=True,help = "If True, make a public/private timescale dump")
@click.option('--stats/--no-stats', 'do_stats_dump', type=bool, default=True,help = "If True, make a couchdb stats dump")
def create_full(location:str, location_private:str, threads:int, dump_id:int, do_listen_dump: bool,
@click.option('--listen/--no-listen', 'do_listen_dump', default=True,
help="If True, make a listens dump")
@click.option('--spark/--no-spark', 'do_spark_dump', type=bool, default=True,
help="If True, make a spark listens dump")
@click.option('--db/--no-db', 'do_db_dump', type=bool, default=True,
help="If True, make a public/private postgres dump")
@click.option('--timescale/--no-timescale', 'do_timescale_dump', type=bool, default=True,
help="If True, make a public/private timescale dump")
@click.option('--stats/--no-stats', 'do_stats_dump', type=bool, default=True,
help="If True, make a couchdb stats dump")
def create_full(location: str, location_private: str, threads: int, dump_id: int, do_listen_dump: bool,
do_spark_dump: bool, do_db_dump: bool, do_timescale_dump: bool, do_stats_dump: bool):
""" Create a ListenBrainz data dump which includes a private dump, a statistics dump
and a dump of the actual listens from the listenstore.
Expand Down

0 comments on commit 80f6f46

Please sign in to comment.