Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/a/p/appscale-original-HEAD/AppServer/google/appengine/api/appscale/neptune.py   appscale-original(Download)
        API.
  """
  if not users.is_current_user_capable("neptune_api"):
    raise NeptuneException("this user cannot call the neptune api")
 

src/a/p/appscale-original-HEAD/AppServer/google/appengine/api/appscale/mapreduce.py   appscale-original(Download)
        MapReduce API.
  """
  if not users.is_current_user_capable("mapreduce_api"):
    raise MapReduceException("this user cannot call the mapreduce api")
 

src/a/p/appscale-original-HEAD/AppServer/google/appengine/api/appscale/ec2.py   appscale-original(Download)
      None: If the currently logged in user is authorized to use the EC2 API.
  """
  if not users.is_current_user_capable("ec2_api"):
    raise EC2Exception("this user cannot call the ec2 api")