'Create a new SDKUpdateChecker.
Args:
rpcserver: The AbstractRpcServer to use.
configs: A list of yaml objects or a single yaml object that specify the
configuration of this application.'

def __init__(self, rpcserver, configs):

    if (not isinstance(configs, list)):
        configs = [configs]
    self.rpcserver = rpcserver
    self.runtimes = set((config.runtime for config in configs))
    self.runtime_to_api_version = {}
    for config in configs:
        self.runtime_to_api_version.setdefault(config.runtime, set()).add(config.api_version)
