Skip to content

launch_script

This python file describes the actual launching procedure.

It's called upon from the pre_launch_args.py hook, by using ayon_console run launch_script.py args, ...

valdidate_args(*args)

Check and validate args (sys.argv).

Returns Nothing.

Source code in client/ayon_comfyui/api/launch_script.py
23
24
25
26
27
28
29
def valdidate_args(*args: argv_t) -> None:
    """Check and validate args (sys.argv).

    Returns Nothing.
    """
    log.info(f"launching with {args}")  # noqa: G004
    main(*args)