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

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

src/m/a/max-3.6/max/models/user.py   max(Download)
    def addFollower(self, person):
        """
            Adds a follower to the list
        """
        self.add_to_list('following', person)
        """
        subscription = context.prepareUserSubscription()
        self.add_to_list(context.user_subscription_storage, subscription, safe=False)
 
    def removeSubscription(self, context):
    def addUserDevice(self, platform, token):
        self.add_to_list(platform + PLATFORM_FIELD_SUFFIX, token)
 
    def deleteUserDevice(self, platform, token):
        self.delete_from_list(platform + PLATFORM_FIELD_SUFFIX, token)

src/m/a/max-3.6/max/models/activity.py   max(Download)
                del comment['actor'][fieldname]
 
        self.add_to_list('replies', comment, allow_duplicates=True)
        self.setKeywords()