INNER CODE UNIT · Python

main

Yelp/paasta · paasta_tools/cli/cli.py:249

def main(argv=None):
    """Perform a paasta call. Read args from sys.argv and pass parsed args onto
    appropriate command in paasta_cli/cmds directory.

    Ensure we kill any child pids before we quit
    """
    logging.basicConfig()
    warnings.filterwarnings("ignore", category=DeprecationWarning)
    # this is unfortunate, but python-jsonschema-objects does not support
    # draft-06 schemas (although, they still work since we're not doing
    # anything fancy) and its not really worth updating all the schemas that
    # we currently consume to use an older/supported version since there's
    # nothing stopping folks from adding new schemas with an unsuppoerted
    # version
    warnings.filterwarnings(
        "ignore",
        message="Schema version.*not recognized",
        module="python_jsonschema_objects",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…