<s> __author__ = '<STR_LIT>' <EOL> __copyright__ = '<STR_LIT>' <EOL> __license__ = '<STR_LIT>' <EOL> __status__ = '<STR_LIT>' <EOL> __version__ = '<STR_LIT:1.0>' <EOL> """<STR_LIT>""" <EOL> import json <EOL> class Task ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , data = None , raw = False , urn = None ) : <EOL> if not raw : <EOL> self . _data = json . dumps ( data ) <EOL> else : <EOL> self . _data = data <EOL> self . urn = urn <EOL> @ property <EOL> def data ( self ) : <EOL> """<STR_LIT>""" <EOL> return json . loads ( self . _data ) <EOL> @ property <EOL> def rawdata ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _data <EOL> def __repr__ ( self ) : <EOL> return '<STR_LIT>' % ( self . __class__ . __name__ , repr ( self . data ) ) </s>
