INNER CODE UNIT · Python

reset_params

alexal1/Insomniac · insomniac/action_runners/interact/__init__.py:76

    def reset_params(self):
        self.likes_count = '2'
        self.follow_percentage = 0
        self.like_percentage = 100
        self.interact = []
        self.stories_count = '0'
        self.comment_percentage = 0
        self.comments_list = []

    def set_params(self, args):
        if args.likes_count is not None:
            self.likes_count = args.likes_count

        if args.stories_count is not None:
            self.stories_count = args.stories_count

        if args.interact is not None:
            self.interact = args.interact.copy()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…