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

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

src/p/o/portfoliyo-HEAD/portfoliyo/pusher/events.py   portfoliyo(Download)
def group_event(event, group_id, owner_id, full_data=True):
    """Send Pusher ``event`` to ``owner_id`` regarding ``group_id``."""
    if full_data:
        group_resource = resources.SlimGroupResource()
        group = model.Group.objects.get(pk=group_id)