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

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

src/m/a/max-3.6/max/rest/likes.py   max(Download)
        # Initialize a Activity object from the request
        newactivity = Activity()
        newactivity.fromRequest(request, rest_params=rest_params)
 
        newactivity_oid = newactivity.insert()
    # Initialize a Activity object from the request
    newactivity = Activity()
    newactivity.fromRequest(request, rest_params=rest_params)
 
    newactivity_oid = newactivity.insert()

src/m/a/max-3.6/max/rest/favorites.py   max(Download)
        # Initialize a Activity object from the request
        newactivity = Activity()
        newactivity.fromRequest(request, rest_params=rest_params)
 
        newactivity_oid = newactivity.insert()
    # Initialize a Activity object from the request
    newactivity = Activity()
    newactivity.fromRequest(request, rest_params=rest_params)
 
    newactivity_oid = newactivity.insert()

src/m/a/max-3.6/max/rest/conversations.py   max(Download)
                           }
            newactivity = Activity()
            newactivity.fromRequest(request, rest_params=rest_params)
            newactivity_oid = newactivity.insert()  # Insert a subscribe activity
            newactivity['_id'] = newactivity_oid
 
        newactivity = Activity()
        newactivity.fromRequest(request, rest_params=rest_params)
        newactivity_oid = newactivity.insert()  # Insert a subscribe activity
        newactivity['_id'] = newactivity_oid

src/m/a/max-3.6/max/rest/follows.py   max(Download)
    # Initialize a Activity object from the request
    newactivity = Activity()
    newactivity.fromRequest(request, rest_params=rest_params)
 
    code = 201

src/m/a/max-3.6/max/rest/comments.py   max(Download)
    # Initialize a Activity object from the request
    newactivity = Activity()
    newactivity.fromRequest(request, rest_params=rest_params)
 
    code = 201

src/m/a/max-3.6/max/rest/activities.py   max(Download)
    # Initialize a Activity object from the request
    newactivity = Activity()
    newactivity.fromRequest(request, rest_params=rest_params)
 
    # New activity