INNER CODE UNIT · Python
is_action_selected
alexal1/Insomniac · insomniac/action_runners/interact/__init__.py:73
def is_action_selected(self, args):
return args.interact is not None and len(args.interact) > 0
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