run_aggregations.py
def parse_inputs() -> dict:
    """
    parse the input command line arguments
    and return dictionary
    """
    # TODO: add details of the code functionality
    parser = argparse.ArgumentParser(
        prog=__file__,
        formatter_class=argparse.RawTextHelpFormatter,
        description=textwrap.dedent(
            """\
            Helps aggregate data
            """
        ),
    )

    parser.add_argument(
        "--loglevel",
        default="info",
        type=str,
        choices=["critical", "error", "warn", "info", "debug"],
        help=textwrap.dedent(
            """\
            logging level.
            (default: %(default)s)
            \n"""
        ),
    )

    parser.add_argument(
        "--input",
        default=os.getcwd() + "/sample-input/test-data-custom.gz",
        type=str,
        help=textwrap.dedent(
            """\
            specify the input file to aggregate.
            (default: %(default)s)
            \n"""
        ),
    )

    args, _ = parser.parse_known_args()
    return vars(args)

    parse the input command line arguments
    and return dictionary
    
parse the input command line arguments
and return dictionary
parse the input command line arguments and return dictionary
def parse_inputs() -> dict:
    parser = argparse.ArgumentParser(
        prog=__file__,
        formatter_class=argparse.RawTextHelpFormatter,
        description=textwrap.dedent(
            """\
            Helps aggregate data
            """
        ),
    )
    parser.add_argument(
        "--loglevel",
        default="info",
        type=str,
        choices=["critical", "error", "warn", "info", "debug"],
        help=textwrap.dedent(
            """\
            logging level.
            (default: %(default)s)
            \n"""
        ),
    )
    parser.add_argument(
        "--input",
        default=os.getcwd() + "/sample-input/test-data-custom.gz",
        type=str,
        help=textwrap.dedent(
            """\
            specify the input file to aggregate.
            (default: %(default)s)
            \n"""
        ),
    )
    args, _ = parser.parse_known_args()
    return vars(args)
def parse_inputs ( ) -> dict : parser = argparse . ArgumentParser ( prog = __file__ , formatter_class = argparse . RawTextHelpFormatter , description = textwrap . dedent ( """\
            Helps aggregate data
            """ ) , ) parser . add_argument ( "--loglevel" , default = "info" , type = str , choices = [ "critical" , "error" , "warn" , "info" , "debug" ] , help = textwrap . dedent ( """\
            logging level.
            (default: %(default)s)
            \n""" ) , ) parser . add_argument ( "--input" , default = os . getcwd ( ) + "/sample-input/test-data-custom.gz" , type = str , help = textwrap . dedent ( """\
            specify the input file to aggregate.
            (default: %(default)s)
            \n""" ) , ) args , _ = parser . parse_known_args ( ) return vars ( args )
parse the input command line arguments
and return dictionary
parse the input command line arguments and return dictionary
"""
    parse the input command line arguments
    and return dictionary
    """ # TODO: add details of the code functionality