code: def parse_args(args):
      arguments = vars(parser.parse_args(args=args or ["--help"]))
      if arguments["validator"] is None:
          arguments["validator"] = validator_for(arguments["schema"])
      return arguments
  
file_path: catboost/contrib/python/jsonschema/py3/jsonschema/cli.py
imports: from __future__ import absolute_import
  import argparse
  import json
  import sys
  from jsonschema import __version__
  from jsonschema._reflect import namedAny
  from jsonschema.validators import validator_for
label_desc: Use image node_id 3 for calling a global function with example usage: parse_args(args) and returns: arguments