Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/c/o/CollabQ-HEAD/wrapper/views.py   CollabQ(Download)
def statuses_show(request, entry_id, format='html'):
  logging.info("statuses_show")
  try:
    entry = api.entry_get_uuid(request.user, entry_id)
  except:
    entry = api.entry_get_uuid(None, entry_id)

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
    self.assert_(entry_ref)
    self.assert_(entry_ref.uuid)
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    self.assert_(entry_ref_from_uuid)
    entry_key = entry_ref.key().name()
    def _private_entry_from_uuid():
      entry_ref_from_uuid = api.entry_get_uuid(other_public_actor_ref, 
                                               entry_ref.uuid)
    self.assertRaises(exception.ApiException, _private_entry_from_uuid)
 
    def _private_entry_from_key():
      entry_ref_from_key = api.entry_get(other_public_actor_ref, entry_key)
    self.assertRaises(exception.ApiException, _private_entry_from_key)
 
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    entry_ref_from_key = api.entry_get(public_actor, entry_key)
    entry_ref_from_uuid_self = api.entry_get_uuid(private_actor, entry_ref.uuid)
    entry_ref_from_key_self = api.entry_get(private_actor, entry_key)
 

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
    self.assert_(entry_ref)
    self.assert_(entry_ref.uuid)
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    self.assert_(entry_ref_from_uuid)
    entry_key = entry_ref.key().name()
    def _private_entry_from_uuid():
      entry_ref_from_uuid = api.entry_get_uuid(other_public_actor_ref, 
                                               entry_ref.uuid)
    self.assertRaises(exception.ApiException, _private_entry_from_uuid)
 
    def _private_entry_from_key():
      entry_ref_from_key = api.entry_get(other_public_actor_ref, entry_key)
    self.assertRaises(exception.ApiException, _private_entry_from_key)
 
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    entry_ref_from_key = api.entry_get(public_actor, entry_key)
    entry_ref_from_uuid_self = api.entry_get_uuid(private_actor, entry_ref.uuid)
    entry_ref_from_key_self = api.entry_get(private_actor, entry_key)
 

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
    self.assert_(entry_ref)
    self.assert_(entry_ref.uuid)
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    self.assert_(entry_ref_from_uuid)
    entry_key = entry_ref.key().name()
    def _private_entry_from_uuid():
      entry_ref_from_uuid = api.entry_get_uuid(other_public_actor_ref, 
                                               entry_ref.uuid)
    self.assertRaises(exception.ApiException, _private_entry_from_uuid)
 
    def _private_entry_from_key():
      entry_ref_from_key = api.entry_get(other_public_actor_ref, entry_key)
    self.assertRaises(exception.ApiException, _private_entry_from_key)
 
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    entry_ref_from_uuid = api.entry_get_uuid(public_actor, entry_ref.uuid)
    entry_ref_from_key = api.entry_get(public_actor, entry_key)
    entry_ref_from_uuid_self = api.entry_get_uuid(private_actor, entry_ref.uuid)
    entry_ref_from_key_self = api.entry_get(private_actor, entry_key)