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

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

src/c/o/CollabQ-HEAD/channel/views.py   CollabQ(Download)
  entry = '%s/%s' % (stream_ref.key().name(), item)
 
  entry_ref = api.entry_get(request.user, entry)
  if not entry_ref:
    raise http.Http404()

src/j/a/JaikuEngine-HEAD/channel/views.py   JaikuEngine(Download)
  entry = '%s/%s' % (stream_ref.key().name(), item)
 
  entry_ref = api.entry_get(request.user, entry)
  if not entry_ref:
    raise http.Http404()

src/j/a/jaikuenginepatch-HEAD/channel/views.py   jaikuenginepatch(Download)
  entry = '%s/%s' % (stream_ref.key().name(), item)
 
  entry_ref = api.entry_get(request.user, entry)
  if not entry_ref:
    raise http.Http404()

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
    self.assert_(entry_ref_from_uuid)
    entry_key = entry_ref.key().name()
    entry_ref_from_key = api.entry_get(public_actor, entry_key)
    for check_ref in (entry_ref, entry_ref_from_uuid, entry_ref_from_key):
      self.assertEqual(check_ref.stream,
    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_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)
    # an entry with no comments
    entry_ref = api.entry_get(
        api.ROOT, 'stream/popular@example.com/presence/12346')
 
    # first comment, unpopular should not see it

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
    self.assert_(entry_ref_from_uuid)
    entry_key = entry_ref.key().name()
    entry_ref_from_key = api.entry_get(public_actor, entry_key)
    for check_ref in (entry_ref, entry_ref_from_uuid, entry_ref_from_key):
      self.assertEqual(check_ref.stream,
    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_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)
    # an entry with no comments
    entry_ref = api.entry_get(
        api.ROOT, 'stream/popular@example.com/presence/12346')
 
    # first comment, unpopular should not see it

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
    self.assert_(entry_ref_from_uuid)
    entry_key = entry_ref.key().name()
    entry_ref_from_key = api.entry_get(public_actor, entry_key)
    for check_ref in (entry_ref, entry_ref_from_uuid, entry_ref_from_key):
      self.assertEqual(check_ref.stream,
    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_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)
    # an entry with no comments
    entry_ref = api.entry_get(
        api.ROOT, 'stream/popular@example.com/presence/12346')
 
    # first comment, unpopular should not see it

src/j/a/JaikuEngine-HEAD/api/tests.py   JaikuEngine(Download)
 
    inbox = api.inbox_get_actor_overview(api.ROOT, 'popular@example.com')
    entry_ref = api.entry_get(api.ROOT, inbox[0])
    self.assertEqual(entry_ref.title(), message)
 

src/j/a/jaikuenginepatch-HEAD/api/tests.py   jaikuenginepatch(Download)
 
    inbox = api.inbox_get_actor_overview(api.ROOT, 'popular@example.com')
    entry_ref = api.entry_get(api.ROOT, inbox[0])
    self.assertEqual(entry_ref.title(), message)
 

src/c/o/CollabQ-HEAD/api/tests.py   CollabQ(Download)
 
    inbox = api.inbox_get_actor_overview(api.ROOT, 'popular@example.com')
    entry_ref = api.entry_get(api.ROOT, inbox[0])
    self.assertEqual(entry_ref.title(), message)