def submit(args=None):
streamsx._streams._version._mismatch_check('<STR_LIT>')<EOL>cmd_args = _parse_args(args)<EOL>if cmd_args.topology is not None:<EOL><INDENT>app = _get_topology_app(cmd_args)<EOL><DEDENT>elif cmd_args.main_composite is not None:<EOL><INDENT>app = _get_spl_app(cmd_args)<EOL><DEDENT>elif cmd_args.bundle is not None:<EOL><INDENT>app = _get_bundle(cmd_args)<EOL><DEDENT>_job_config_args(cmd_args, app)<EOL>sr = _submit(cmd_args, app)<EOL>if '<STR_LIT>' not in sr:<EOL><INDENT>sr['<STR_LIT>'] = <NUM_LIT:1>;<EOL><DEDENT>print(sr)<EOL>return sr<EOL>
Performs the submit according to arguments and
    returns an object describing the result.