def create_channel(client_id, duration_minutes=None):


  client_id = _ValidateClientId(client_id)

  request = channel_service_pb.CreateChannelRequest()
  response = channel_service_pb.CreateChannelResponse()

  request.set_application_key(client_id)

  try:
    apiproxy_stub_map.MakeSyncCall(_GetService(),
                                   'CreateChannel',
                                   request,
                                   response)
  except apiproxy_errors.ApplicationError, e:
    raise _ToChannelError(e)

  return response.token()
Create a channel.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/channel/channel.py/create_channel