<s> """<STR_LIT>""" <EOL> from time import time <EOL> class Py3status : <EOL> """<STR_LIT>""" <EOL> cache_timeout = <NUM_LIT:10> <EOL> format = '<STR_LIT>' <EOL> def __init__ ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def kill ( self , i3s_output_list , i3s_config ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def on_click ( self , i3s_output_list , i3s_config , event ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def example_method ( self , i3s_output_list , i3s_config ) : <EOL> """<STR_LIT>""" <EOL> full_text = self . format . format ( output = '<STR_LIT>' ) <EOL> response = { <EOL> '<STR_LIT>' : time ( ) + self . cache_timeout , <EOL> '<STR_LIT>' : full_text <EOL> } <EOL> return response <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> """<STR_LIT>""" <EOL> from time import sleep <EOL> x = Py3status ( ) <EOL> config = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' <EOL> } <EOL> while True : <EOL> print ( x . example_method ( [ ] , config ) ) <EOL> sleep ( <NUM_LIT:1> ) </s>
