<s> from __future__ import unicode_literals <EOL> from reviewboard . webapi . base import WebAPIResource <EOL> from reviewboard . webapi . decorators import webapi_check_login_required <EOL> from reviewboard . webapi . resources import resources <EOL> class WatchedResource ( WebAPIResource ) : <EOL> """<STR_LIT>""" <EOL> name = '<STR_LIT>' <EOL> singleton = True <EOL> list_child_resources = [ <EOL> resources . watched_review_group , <EOL> resources . watched_review_request , <EOL> ] <EOL> @ webapi_check_login_required <EOL> def get_list ( self , request , * args , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return super ( WatchedResource , self ) . get_list ( request , * args , ** kwargs ) <EOL> watched_resource = WatchedResource ( ) </s>
