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 domain with a CHECK constraint
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/channel/channel.py/create_channel--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_domain.py/DomainToSqlTestCase.test_create_domain_check