/// <summary> /// Calls a service on the Shotgun client. /// </summary> /// <param name="serviceName">The name of the service</param> /// <param name="args">Arguments to pass to the service</param> public static void Call(string serviceName, params object[] args) { // Do our best to get a valid client if (!Client.EnsureConnection()) { return; } // Then call the service _ = PythonRunner.CallAsyncServiceOnClient(Constants.clientName, serviceName, args); }